chore: Revert applock fix and downgrade flutter instead

This commit is contained in:
Krille 2024-01-24 15:49:10 +01:00
parent 1a0b240d5d
commit 0d465b6deb
No known key found for this signature in database
GPG key ID: E067ECD60F1A0652
2 changed files with 8 additions and 2 deletions

View file

@ -1,2 +1,2 @@
FLUTTER_VERSION=3.16.8
FLUTTER_VERSION=3.16.7
JAVA_VERSION=17

View file

@ -103,6 +103,12 @@ class AppLock extends State<AppLockWidget> with WidgetsBindingObserver {
@override
Widget build(BuildContext context) => Provider<AppLock>(
create: (_) => this,
child: isLocked ? const LockScreen() : widget.child,
child: Stack(
fit: StackFit.expand,
children: [
widget.child,
if (isLocked) const LockScreen(),
],
),
);
}