Skip to content

armgit / ente

Public Imported from GitHub
0

πŸ’š End-to-end encrypted cloud for everything.

Increase hit area for the "Skip" button

Vishnu Mohandas85527125bb7e
diff --git a/lib/ui/settings/backup/backup_folder_selection_page.dart b/lib/ui/settings/backup/backup_folder_selection_page.dart
index 8e43537537..f20dc48bbf 100644
--- a/lib/ui/settings/backup/backup_folder_selection_page.dart
+++ b/lib/ui/settings/backup/backup_folder_selection_page.dart
@@ -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: