diff --git a/src/ui/pages/Main/SettingsTabScreen.tsx b/src/ui/pages/Main/SettingsTabScreen.tsx index 0bd9cfa5..96effcae 100644 --- a/src/ui/pages/Main/SettingsTabScreen.tsx +++ b/src/ui/pages/Main/SettingsTabScreen.tsx @@ -77,6 +77,14 @@ const SettingList: Setting[] = [ action: 'expand-view', route: '/settings/export-privatekey', right: false + }, + { + label: '', + value: '', + desc: 'Lock UniSat Wallet ', + action: 'lock-wallet', + route: '', + right: false } ]; @@ -153,6 +161,11 @@ export default function SettingsTabScreen() { openExtensionInTab(); return; } + if (item.action == 'lock-wallet') { + wallet.lockWallet(); + navigate('/account/unlock'); + return; + } navigate(item.route); }} />