[mob][photos] Auto lock default time set to 5 seconds
This commit is contained in:
@@ -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,
|
||||
),
|
||||
|
||||
@@ -38,7 +38,7 @@ class LockScreenSettings {
|
||||
}
|
||||
|
||||
int getAutoLockTime() {
|
||||
return _preferences.getInt(autoLockTime) ?? 0;
|
||||
return _preferences.getInt(autoLockTime) ?? 5000;
|
||||
}
|
||||
|
||||
Future<void> setLastInvalidAttemptTime(int time) async {
|
||||
|
||||
Reference in New Issue
Block a user