diff --git a/lib/screens/components/TimeoutLock.dart b/lib/screens/components/TimeoutLock.dart index f35d89c..456487c 100644 --- a/lib/screens/components/TimeoutLock.dart +++ b/lib/screens/components/TimeoutLock.dart @@ -33,12 +33,7 @@ class _TimeoutLockState extends State with WidgetsBindingObserver { @override void didChangeAppLifecycleState(AppLifecycleState state) { super.didChangeAppLifecycleState(state); - if (Platform.isMacOS || Platform.isLinux || Platform.isWindows) { - print("currentAuthentication: ${currentAuthentication()}"); - if (!currentAuthentication()) { - return; - } - } + if (!currentAuthentication() || timeoutLock == 0) return; print("_locked: $_locked"); if (_locked) { return;