Skip to content

Commit

Permalink
Merge pull request #400 from zymxxx/zymxxxs/improve_feature_for_iOS
Browse files Browse the repository at this point in the history
feat: iOS 相关改进
  • Loading branch information
hanxu317317 committed Nov 8, 2019
2 parents 8c9f1f4 + 234a438 commit 8b1cb88
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lib/views/fourth_page/pages.dart
Original file line number Diff line number Diff line change
Expand Up @@ -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: [
Expand All @@ -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')
),
]
Expand Down
1 change: 1 addition & 0 deletions lib/views/web_page/web_view_page.dart
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,7 @@ class _WebViewPageState extends State<WebViewPage> {
withZoom: false,
withLocalStorage: true,
withJavascript: true,
hidden: true,
),
);
}
Expand Down

0 comments on commit 8b1cb88

Please sign in to comment.