fix: Keyboard disappears in lockscreen
This commit is contained in:
parent
7fe8d196fb
commit
1a0b240d5d
2 changed files with 41 additions and 61 deletions
|
|
@ -103,11 +103,6 @@ class AppLock extends State<AppLockWidget> with WidgetsBindingObserver {
|
|||
@override
|
||||
Widget build(BuildContext context) => Provider<AppLock>(
|
||||
create: (_) => this,
|
||||
child: Stack(
|
||||
children: [
|
||||
widget.child,
|
||||
if (isLocked) const LockScreen(),
|
||||
],
|
||||
),
|
||||
child: isLocked ? const LockScreen() : widget.child,
|
||||
);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue