Increase hit area for the "Skip" button

This commit is contained in:
Vishnu Mohandas 2023-09-23 00:27:03 +05:30 committed by GitHub
parent 391c26894d
commit 85527125bb
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: