mirror of
https://github.com/gabehf/Fladder.git
synced 2026-03-07 21:48:14 -08:00
fix: Removed setState from key listener dispose
This commit is contained in:
parent
19f2b5473b
commit
aefabb2dfd
1 changed files with 3 additions and 1 deletions
|
|
@ -29,7 +29,9 @@ class KeyCombinationWidgetState extends ConsumerState<KeyCombinationWidget> {
|
|||
|
||||
@override
|
||||
void dispose() {
|
||||
_stopListening();
|
||||
_isListening = false;
|
||||
_pressedKey = null;
|
||||
_pressedModifier = null;
|
||||
super.dispose();
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue