chore: Revert applock fix and downgrade flutter instead
This commit is contained in:
parent
1a0b240d5d
commit
0d465b6deb
2 changed files with 8 additions and 2 deletions
2
.github/workflows/versions.env
vendored
2
.github/workflows/versions.env
vendored
|
|
@ -1,2 +1,2 @@
|
||||||
FLUTTER_VERSION=3.16.8
|
FLUTTER_VERSION=3.16.7
|
||||||
JAVA_VERSION=17
|
JAVA_VERSION=17
|
||||||
|
|
@ -103,6 +103,12 @@ class AppLock extends State<AppLockWidget> with WidgetsBindingObserver {
|
||||||
@override
|
@override
|
||||||
Widget build(BuildContext context) => Provider<AppLock>(
|
Widget build(BuildContext context) => Provider<AppLock>(
|
||||||
create: (_) => this,
|
create: (_) => this,
|
||||||
child: isLocked ? const LockScreen() : widget.child,
|
child: Stack(
|
||||||
|
fit: StackFit.expand,
|
||||||
|
children: [
|
||||||
|
widget.child,
|
||||||
|
if (isLocked) const LockScreen(),
|
||||||
|
],
|
||||||
|
),
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue