feat: add setting for auto-lock fix: fix sideswipe
This commit is contained in:
@@ -241,6 +241,14 @@ class _SettingsScreenViewState extends State<SettingsScreenView> {
|
||||
}
|
||||
},
|
||||
),
|
||||
_SettingsSwitchTile(
|
||||
icon: Icons.lock_clock_rounded,
|
||||
title: l10n.autoLockOnExit,
|
||||
value: settings.autoLockEnabled,
|
||||
onChanged: (value) {
|
||||
settingsViewModel.updateAutoLockEnabled(value);
|
||||
},
|
||||
),
|
||||
if (settings.pinRequired)
|
||||
_SettingsTile(
|
||||
icon: Icons.pin_rounded,
|
||||
|
||||
Reference in New Issue
Block a user