Skip to content

Commit

Permalink
fix: Can't multi listen alarm
Browse files Browse the repository at this point in the history
  • Loading branch information
longtn-imt committed Mar 8, 2024
1 parent 8ed64f6 commit 62af8c1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/alarm.dart
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ class Alarm {
static bool get android => defaultTargetPlatform == TargetPlatform.android;

/// Stream of the ringing status.
static final ringStream = StreamController<AlarmSettings>();
static final ringStream = StreamController<AlarmSettings>.broadcast();

/// Initializes Alarm services.
///
Expand Down

0 comments on commit 62af8c1

Please sign in to comment.