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();
|
||||
|
||||
return Container(
|
||||
var main = Container(
|
||||
height: 60,
|
||||
child: Row(
|
||||
children: [
|
||||
@@ -112,6 +112,12 @@ class _IndexWebBottomComponent extends State<IndexWebBottomComponent> {
|
||||
],
|
||||
),
|
||||
);
|
||||
|
||||
return main;
|
||||
// return SafeArea(
|
||||
// top: false,
|
||||
// child: main,
|
||||
// );
|
||||
}, selector: (context, provider) {
|
||||
return provider.currentWebInfo();
|
||||
});
|
||||
|
||||
@@ -106,7 +106,6 @@ class _IndexWebComponent extends State<IndexWebComponent> {
|
||||
return Container(
|
||||
padding: EdgeInsets.only(
|
||||
top: padding.top,
|
||||
bottom: padding.bottom,
|
||||
),
|
||||
child: main,
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user