From 937d12d5d8c4390ff111f93e2dd57b4a68ee60ad Mon Sep 17 00:00:00 2001 From: Vishesh Handa Date: Sun, 9 Feb 2020 16:04:40 +0100 Subject: [PATCH] Host Setup: Wrap back button in SafeArea Otherwise the notch intefers with it. --- lib/screens/githostsetup_screens.dart | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/lib/screens/githostsetup_screens.dart b/lib/screens/githostsetup_screens.dart index 289a941b..72d9f990 100644 --- a/lib/screens/githostsetup_screens.dart +++ b/lib/screens/githostsetup_screens.dart @@ -243,12 +243,14 @@ class GitHostSetupScreenState extends State { children: [ body, if (Platform.isIOS) - InkWell( - child: Container( - child: const Icon(Icons.arrow_back, size: 32.0), - padding: const EdgeInsets.all(8.0), + SafeArea( + child: InkWell( + child: Container( + child: const Icon(Icons.arrow_back, size: 32.0), + padding: const EdgeInsets.all(8.0), + ), + onTap: () => Navigator.of(context).pop(), ), - onTap: () => Navigator.of(context).pop(), ), ], ),