mirror of
https://github.com/GitJournal/GitJournal.git
synced 2025-06-26 16:46:51 +08:00
Host Setup: Wrap back button in SafeArea
Otherwise the notch intefers with it.
This commit is contained in:
@ -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(),
|
|
||||||
),
|
),
|
||||||
],
|
],
|
||||||
),
|
),
|
||||||
|
Reference in New Issue
Block a user