Skip to content

Commit

Permalink
Add code comment to explain the code area a bit more
Browse files Browse the repository at this point in the history
  • Loading branch information
KarinBerg committed Jan 19, 2025
1 parent 53e691f commit 3caf7d6
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions recipients_app/lib/data/repositories/user_repository.dart
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ class UserRepository {
authStateController.add(authState);
});

// Start listen on demo mode changes, so we can update the authStateSubscription if the active data source is changing.
demoManager.isDemoEnabledStream.listen((isDemoMode) {
authStateSubscription?.cancel();

Expand Down

0 comments on commit 3caf7d6

Please sign in to comment.