Skip to content

Commit

Permalink
[setting] 警告ダイアログでDispose時の処理を忘れていた問題を修正
Browse files Browse the repository at this point in the history
  • Loading branch information
CoreNion committed Apr 19, 2023
1 parent 5c361cc commit da7e52e
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions lib/pages/setting.dart
Original file line number Diff line number Diff line change
Expand Up @@ -467,6 +467,12 @@ class _WarningDialogState extends State<WarningDialog> {
});
}

@override
void dispose() {
timer.cancel();
super.dispose();
}

@override
Widget build(BuildContext context) {
return AlertDialog(
Expand Down

0 comments on commit da7e52e

Please sign in to comment.