Skip to content

Commit

Permalink
Merge pull request #21 from dillonfagan/dev
Browse files Browse the repository at this point in the history
Use relative path for alarm sound
  • Loading branch information
dillonfagan authored Oct 6, 2023
2 parents 6b6a124 + 435fff0 commit c2e695f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/pages/timer/timer.dart
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ class _TimerPageState extends ConsumerState<TimerPage> {

void _playAlarm() async {
await widget.audioPlayer.play(
UrlSource('/sounds/alarm.mp3'),
UrlSource('sounds/alarm.mp3'),
volume: 1.0,
);
}
Expand Down

0 comments on commit c2e695f

Please sign in to comment.