From 0d465b6deb259653f377db47a524999bf6e9d5d1 Mon Sep 17 00:00:00 2001 From: Krille Date: Wed, 24 Jan 2024 15:49:10 +0100 Subject: [PATCH] chore: Revert applock fix and downgrade flutter instead --- .github/workflows/versions.env | 2 +- lib/widgets/app_lock.dart | 8 +++++++- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/.github/workflows/versions.env b/.github/workflows/versions.env index 6d23c9b5..ed14bbc6 100644 --- a/.github/workflows/versions.env +++ b/.github/workflows/versions.env @@ -1,2 +1,2 @@ -FLUTTER_VERSION=3.16.8 +FLUTTER_VERSION=3.16.7 JAVA_VERSION=17 \ No newline at end of file diff --git a/lib/widgets/app_lock.dart b/lib/widgets/app_lock.dart index 3ec30aa8..d337358d 100644 --- a/lib/widgets/app_lock.dart +++ b/lib/widgets/app_lock.dart @@ -103,6 +103,12 @@ class AppLock extends State with WidgetsBindingObserver { @override Widget build(BuildContext context) => Provider( create: (_) => this, - child: isLocked ? const LockScreen() : widget.child, + child: Stack( + fit: StackFit.expand, + children: [ + widget.child, + if (isLocked) const LockScreen(), + ], + ), ); }