mirror of
https://github.com/GitJournal/GitJournal.git
synced 2025-06-30 19:36:25 +08:00
ChecklistEditor: Do not manually destroy the focus nodes
The focus node will dispose themselves
This commit is contained in:
@ -70,8 +70,6 @@ class ChecklistEditorState extends State<ChecklistEditor>
|
|||||||
@override
|
@override
|
||||||
void dispose() {
|
void dispose() {
|
||||||
_titleTextController.dispose();
|
_titleTextController.dispose();
|
||||||
focusNodes.values.forEach((fn) => fn.dispose());
|
|
||||||
|
|
||||||
super.dispose();
|
super.dispose();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user