Skip to content

armgit / ente

Public Imported from GitHub
0

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

Make lock screen device-lock a selection, not a toggle

Manav Rathie27f4ea91d08
diff --git a/mobile/packages/lock_screen/lib/ui/lock_screen_options.dart b/mobile/packages/lock_screen/lib/ui/lock_screen_options.dart
index c35c5b363c..1517e532f7 100644
--- a/mobile/packages/lock_screen/lib/ui/lock_screen_options.dart
+++ b/mobile/packages/lock_screen/lib/ui/lock_screen_options.dart
@@ -67,7 +67,7 @@ class _LockScreenOptionsState extends State<LockScreenOptions> {
if (await LocalAuthenticationService.instance
.isLocalAuthSupportedOnDevice()) {
await _lockScreenSettings.removePinAndPassword();
- await _lockScreenSettings.setSystemLockScreen(!isSystemLockEnabled);
+ await _lockScreenSettings.setSystemLockScreen(true);
} else {
final linuxStatus = await LocalAuthenticationService.instance
.getLinuxLocalAuthSetupStatus();