mirror of
https://github.com/haorendashu/nowser.git
synced 2025-12-17 18:04:18 +01:00
fix ios webview bottom padding bug
This commit is contained in:
@@ -42,7 +42,7 @@ class _IndexWebBottomComponent extends State<IndexWebBottomComponent> {
|
|||||||
}
|
}
|
||||||
Widget numberWidget = WebViewNumberComponent();
|
Widget numberWidget = WebViewNumberComponent();
|
||||||
|
|
||||||
return Container(
|
var main = Container(
|
||||||
height: 60,
|
height: 60,
|
||||||
child: Row(
|
child: Row(
|
||||||
children: [
|
children: [
|
||||||
@@ -112,6 +112,12 @@ class _IndexWebBottomComponent extends State<IndexWebBottomComponent> {
|
|||||||
],
|
],
|
||||||
),
|
),
|
||||||
);
|
);
|
||||||
|
|
||||||
|
return main;
|
||||||
|
// return SafeArea(
|
||||||
|
// top: false,
|
||||||
|
// child: main,
|
||||||
|
// );
|
||||||
}, selector: (context, provider) {
|
}, selector: (context, provider) {
|
||||||
return provider.currentWebInfo();
|
return provider.currentWebInfo();
|
||||||
});
|
});
|
||||||
|
|||||||
@@ -106,7 +106,6 @@ class _IndexWebComponent extends State<IndexWebComponent> {
|
|||||||
return Container(
|
return Container(
|
||||||
padding: EdgeInsets.only(
|
padding: EdgeInsets.only(
|
||||||
top: padding.top,
|
top: padding.top,
|
||||||
bottom: padding.bottom,
|
|
||||||
),
|
),
|
||||||
child: main,
|
child: main,
|
||||||
);
|
);
|
||||||
|
|||||||
Reference in New Issue
Block a user