Skip to content

Commit 5a94d40

Browse files
handle deleting instances
1 parent c4e70f5 commit 5a94d40

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

lib/features/sorting/bubble/view/bubble_sort_page.dart

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -17,12 +17,6 @@ class BubbleSortPage extends ConsumerStatefulWidget {
1717
}
1818

1919
class _BubbleSortPageState extends ConsumerState<BubbleSortPage> {
20-
@override
21-
void deactivate() {
22-
ref.invalidate(_notifierProvider); // deletes current instance and resets
23-
super.deactivate();
24-
}
25-
2620
@override
2721
Widget build(BuildContext context) {
2822
return SortingPage(instance: _notifierProvider, title: StringsManager.bubbleSort);

0 commit comments

Comments
 (0)