Increase hit area for the "Skip" button (#1416)

This commit is contained in:
Vishnu Mohandas 2023-09-23 09:53:20 +05:30 committed by GitHub
commit 9b81dde9e4
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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: