refactoring

This commit is contained in:
Fabian Freund
2025-02-20 12:27:34 +01:00
parent b81fc1cc42
commit 490e13000b
138 changed files with 1392 additions and 3251 deletions
+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'),
),
);
}