fix: close previous snackbar before opening new mode disabled snackbar
This commit is contained in:
parent
a3e70d623d
commit
6132ab5258
1 changed files with 1 additions and 0 deletions
|
|
@ -211,6 +211,7 @@ class SelectModeButtonsState extends State<SelectModeButtons> {
|
|||
}
|
||||
|
||||
Future<void> modeDisabled() async {
|
||||
ScaffoldMessenger.of(context).hideCurrentSnackBar();
|
||||
ScaffoldMessenger.of(context).showSnackBar(
|
||||
SnackBar(
|
||||
content: Text(L10n.of(context).modeDisabled),
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue