Merge pull request #400 from zymxxx/zymxxxs/improve_feature_for_iOS

feat: iOS 相关改进
This commit is contained in:
hanxu317317
2019-11-08 10:54:37 +08:00
committed by GitHub
2 changed files with 3 additions and 1 deletions

View File

@ -71,6 +71,7 @@ class Page extends StatelessWidget {
@override
Widget build(BuildContext context) {
final paddingTop = MediaQuery.of(context).padding.top;
return Stack(
//alignment: const Alignment(1.2, 0.6),
children: [
@ -90,7 +91,7 @@ class Page extends StatelessWidget {
),
Positioned(
right: -5.0,
top: 2.0,
top: paddingTop + 2.0,
child: creatButton(context, 'GitHub', Icons.arrow_forward, 'goGithub')
),
]

View File

@ -76,6 +76,7 @@ class _WebViewPageState extends State<WebViewPage> {
withZoom: false,
withLocalStorage: true,
withJavascript: true,
hidden: true,
),
);
}