Skip to content

Commit dbe3af6

Browse files
committed
stop releasing the ring sound after every ring
1 parent e316a8f commit dbe3af6

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

lib/widgets/timer_page.dart

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -322,6 +322,7 @@ class TimerPageState extends State<TimerPage>
322322
void initState() {
323323
WidgetsBinding.instance.addObserver(this);
324324
sessionKey = sessionSavePrefix + widget.tea.id.toString();
325+
_audioPlayer.setReleaseMode(ReleaseMode.stop);
325326

326327
_animationController = AnimationController(
327328
vsync: this,

0 commit comments

Comments
 (0)