From 7be0b96491c66f33750aeae1b6744afd1352b119 Mon Sep 17 00:00:00 2001 From: Felix Kirchner Date: Tue, 13 Jan 2026 21:45:22 +0100 Subject: [PATCH] Added hiding to prevent stacking snackbars --- lib/presentation/widgets/player_selection.dart | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/presentation/widgets/player_selection.dart b/lib/presentation/widgets/player_selection.dart index c5bb5de..2b9bb50 100644 --- a/lib/presentation/widgets/player_selection.dart +++ b/lib/presentation/widgets/player_selection.dart @@ -295,6 +295,7 @@ class _PlayerSelectionState extends State { /// [message] - The message to display in the snackbar. void showSnackBarMessage(String message) { if (!context.mounted) return; + ScaffoldMessenger.of(context).hideCurrentSnackBar(); ScaffoldMessenger.of(context).showSnackBar( SnackBar( backgroundColor: CustomTheme.boxColor,