Wait for 3 seconds before locking the screen
This commit is contained in:
parent
6d33b5904c
commit
4fe3b093a9
1 changed files with 2 additions and 0 deletions
|
@ -50,6 +50,7 @@ const kFGSyncFrequency = Duration(minutes: 5);
|
|||
const kBGTaskTimeout = Duration(seconds: 25);
|
||||
const kBGPushTimeout = Duration(seconds: 28);
|
||||
const kFGTaskDeathTimeoutInMicroseconds = 5000000;
|
||||
const kBackgroundLockLatency = Duration(seconds: 3);
|
||||
|
||||
void main() async {
|
||||
WidgetsFlutterBinding.ensureInitialized();
|
||||
|
@ -69,6 +70,7 @@ Future<void> _runInForeground() async {
|
|||
enabled: Configuration.instance.shouldShowLockScreen(),
|
||||
lightTheme: lightThemeData,
|
||||
darkTheme: darkThemeData,
|
||||
backgroundLockLatency: kBackgroundLockLatency,
|
||||
),
|
||||
);
|
||||
});
|
||||
|
|
Loading…
Reference in a new issue