[mob][photos] Auto lock default time set to 5 seconds

This commit is contained in:
Aman Raj Singh Mourya
2024-07-20 20:03:56 +05:30
parent 73b57ffb34
commit 254fb418ce
2 changed files with 2 additions and 2 deletions

View File

@@ -259,7 +259,7 @@ class _LockScreenOptionsState extends State<LockScreenOptions> {
right: 12,
),
child: Text(
"Time after which the app will be locked after closing",
"Time after which the app locks after being put in the background",
style: textTheme.miniFaint,
textAlign: TextAlign.left,
),

View File

@@ -38,7 +38,7 @@ class LockScreenSettings {
}
int getAutoLockTime() {
return _preferences.getInt(autoLockTime) ?? 0;
return _preferences.getInt(autoLockTime) ?? 5000;
}
Future<void> setLastInvalidAttemptTime(int time) async {