Skip to content

Commit

Permalink
dispose controllers
Browse files Browse the repository at this point in the history
  • Loading branch information
tommyxchow committed Nov 13, 2024
1 parent a761902 commit 2bb5afc
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions lib/screens/settings/widgets/settings_muted_words.dart
Original file line number Diff line number Diff line change
Expand Up @@ -139,4 +139,11 @@ class _SettingsMutedWordsState extends State<SettingsMutedWords> {
),
);
}

@override
void dispose() {
textController.dispose();
textFieldFocusNode.dispose();
super.dispose();
}
}

0 comments on commit 2bb5afc

Please sign in to comment.