Skip to content

armgit / ente

Public Imported from GitHub
0

πŸ’š End-to-end encrypted cloud for everything.

[mob][photos] Add comment

ashilknb2e9b242ad3e
diff --git a/auth/lib/ui/tools/lock_screen.dart b/auth/lib/ui/tools/lock_screen.dart
index b66472f5af..3793230798 100644
--- a/auth/lib/ui/tools/lock_screen.dart
+++ b/auth/lib/ui/tools/lock_screen.dart
@@ -194,6 +194,7 @@ class _LockScreenState extends State<LockScreen> with WidgetsBindingObserver {
isCritical: true,
firstButtonOnTap: () async {
await UserService.instance.logout(context);
+ // To start the app afresh, resetting all state.
Process.killPid(pid, ProcessSignal.sigkill);
},
);