|
@@ -327,7 +327,7 @@ class ZefyrToolbarState extends State<ZefyrToolbar>
|
327
|
327
|
|
328
|
328
|
@override
|
329
|
329
|
Widget build(BuildContext context) {
|
330
|
|
- if (editor.toolbarAction == null && _keyboardHeight != MediaQuery.of(context).viewInsets.bottom) {
|
|
330
|
+ if (MediaQuery.of(context).viewInsets.bottom > 0 && _keyboardHeight == null) {
|
331
|
331
|
_keyboardHeight = MediaQuery.of(context).viewInsets.bottom;
|
332
|
332
|
}
|
333
|
333
|
final theme = ZefyrTheme.of(context).toolbarTheme;
|
|
@@ -387,7 +387,7 @@ class ZefyrToolbarState extends State<ZefyrToolbar>
|
387
|
387
|
} else {
|
388
|
388
|
layers.add(
|
389
|
389
|
Container(
|
390
|
|
- height: keyboardHeight,
|
|
390
|
+ height: editor.toolbarAction == null ? keyboardHeight : 0,
|
391
|
391
|
),
|
392
|
392
|
);
|
393
|
393
|
}
|