|
@@ -317,7 +317,11 @@ class ZefyrToolbarState extends State<ZefyrToolbar>
|
317
|
317
|
switch (platform) {
|
318
|
318
|
case TargetPlatform.iOS:
|
319
|
319
|
case TargetPlatform.android:
|
320
|
|
- widget = hasOverlay ? buildButton(context, ZefyrToolbarAction.showKeyboard) : buildButton(context, ZefyrToolbarAction.hideKeyboard);
|
|
320
|
+ if (keyboardHeight > 0) {
|
|
321
|
+ widget = hasOverlay ? buildButton(context, ZefyrToolbarAction.showKeyboard) : buildButton(context, ZefyrToolbarAction.hideKeyboard);
|
|
322
|
+ } else {
|
|
323
|
+ widget = buildButton(context, ZefyrToolbarAction.showKeyboard);
|
|
324
|
+ }
|
321
|
325
|
break;
|
322
|
326
|
default:
|
323
|
327
|
break;
|