Skip to content

Commit

Permalink
Update lib/src/navbar_notifier.dart as reviewed
Browse files Browse the repository at this point in the history
Co-authored-by: Mahesh Jamdade <31410839+maheshmnj@users.noreply.github.com>
  • Loading branch information
bebaoboy and maheshj01 authored Apr 22, 2024
1 parent dd7eebb commit 9cbea0b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/src/navbar_notifier.dart
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ class NavbarNotifier extends ChangeNotifier {
if (index < 0 || index >= length) return;
_badges[index] = badge;
// TODO: wonder if this will cause performance issue
_notifyIndexChangeListeners(index);
NavbarNotifier.index = index;
_singleton.notify();
}

Expand Down

0 comments on commit 9cbea0b

Please sign in to comment.