Skip to content

Commit 70824b4

Browse files
committed
store [nfc]: Drop no-op should-notify override in _GlobalStoreInheritedWidget
This did the exact same thing as the base implementation does.
1 parent bda2351 commit 70824b4

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

lib/widgets/store.dart

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -87,10 +87,6 @@ class _GlobalStoreInheritedWidget extends InheritedNotifier<GlobalStore> {
8787
}) : super(notifier: store);
8888

8989
GlobalStore get store => notifier!;
90-
91-
@override
92-
bool updateShouldNotify(covariant _GlobalStoreInheritedWidget oldWidget) =>
93-
store != oldWidget.store;
9490
}
9591

9692
/// Provides access to the user's data for a particular Zulip account.

0 commit comments

Comments
 (0)