Skip to content

Commit

Permalink
refactor(Notifications): extract method
Browse files Browse the repository at this point in the history
  • Loading branch information
Andrew-Bekhiet committed Sep 8, 2024
1 parent 665c28b commit d3daa0d
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions lib/src/services/notifications_service.dart
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,11 @@ class NotificationsService {
NotificationsService() {
listenToFirebaseMessaging();
initPlugins();
listenToUserStream();
}

@protected
void listenToUserStream() {
unawaited(
GetIt.I<AuthRepository>()
.userStream
Expand Down

0 comments on commit d3daa0d

Please sign in to comment.