Host Setup: Wrap back button in SafeArea

Otherwise the notch intefers with it.
This commit is contained in:
Vishesh Handa
2020-02-09 16:04:40 +01:00
parent 0c0fd17543
commit 937d12d5d8

View File

@ -243,12 +243,14 @@ class GitHostSetupScreenState extends State<GitHostSetupScreen> {
children: <Widget>[ children: <Widget>[
body, body,
if (Platform.isIOS) if (Platform.isIOS)
InkWell( SafeArea(
child: Container( child: InkWell(
child: const Icon(Icons.arrow_back, size: 32.0), child: Container(
padding: const EdgeInsets.all(8.0), 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(),
), ),
], ],
), ),