mirror of
https://github.com/krille-chan/fluffychat
synced 2024-09-10 01:05:17 +00:00
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…
Reference in a new issue