Clear snackbars when start new game
This commit is contained in:
parent
1fd699ebf4
commit
4129033042
|
@ -619,6 +619,7 @@ class _GamePageState extends State<GamePage>
|
||||||
if (mounted) {
|
if (mounted) {
|
||||||
showTip(S.of(context).gameStarted);
|
showTip(S.of(context).gameStarted);
|
||||||
if (Config.screenReaderSupport) {
|
if (Config.screenReaderSupport) {
|
||||||
|
ScaffoldMessenger.of(context).clearSnackBars();
|
||||||
showSnackBar(context, S.of(context).gameStarted);
|
showSnackBar(context, S.of(context).gameStarted);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue