Clear snackbars when start new game

This commit is contained in:
Calcitem 2021-09-02 00:48:29 +08:00
parent 1fd699ebf4
commit 4129033042
No known key found for this signature in database
GPG Key ID: F2F7C29E054CFB80
1 changed files with 1 additions and 0 deletions

View File

@ -619,6 +619,7 @@ class _GamePageState extends State<GamePage>
if (mounted) {
showTip(S.of(context).gameStarted);
if (Config.screenReaderSupport) {
ScaffoldMessenger.of(context).clearSnackBars();
showSnackBar(context, S.of(context).gameStarted);
}
}