Increase hit area for the "Skip" button
This commit is contained in:
parent
391c26894d
commit
85527125bb
1 changed files with 11 additions and 10 deletions
|
@ -181,16 +181,17 @@ class _BackupFolderSelectionPageState extends State<BackupFolderSelectionPage> {
|
|||
),
|
||||
),
|
||||
widget.isOnboarding
|
||||
? Padding(
|
||||
padding: EdgeInsets.only(
|
||||
top: 16,
|
||||
bottom: Platform.isIOS ? 48 : 32,
|
||||
),
|
||||
child: GestureDetector(
|
||||
key: const ValueKey("skipBackupButton"),
|
||||
onTap: () {
|
||||
Navigator.of(context).pop();
|
||||
},
|
||||
? GestureDetector(
|
||||
key: const ValueKey("skipBackupButton"),
|
||||
behavior: HitTestBehavior.opaque,
|
||||
onTap: () {
|
||||
Navigator.of(context).pop();
|
||||
},
|
||||
child: Padding(
|
||||
padding: EdgeInsets.only(
|
||||
top: 16,
|
||||
bottom: Platform.isIOS ? 48 : 32,
|
||||
),
|
||||
child: Text(
|
||||
S.of(context).skip,
|
||||
style:
|
||||
|
|
Loading…
Add table
Reference in a new issue