refactoring

This commit is contained in:
Fabian Freund committed 2025-02-20 12:27:34 +01:00
1 parent b81fc1cc42
commit 490e13000b
138 files changed
+1392 -3251

No files matched your search

+13
View File
@@ -23,3 +23,16 @@ Future<void> launchUrlFeedback(
}
}
}
void showTabBackButtonMessage(BuildContext context, int tabCount) {
ScaffoldMessenger.of(context)
..clearSnackBars()
..showSnackBar(
SnackBar(
content:
(tabCount > 1)
? const Text('Please click BACK again to close current tab')
: const Text('Please click BACK again to exit app'),
),
);
}