bug fixes

This commit is contained in:
MohammadTaha Basiri 2022-04-08 15:45:39 +04:30
parent 9773a514c3
commit b23d9e5f98
2 changed files with 6 additions and 1 deletions

View File

@ -89,7 +89,7 @@ class _TabItem extends StatelessWidget {
} }
return Theme.of(context).colorScheme.focusedBorder; return Theme.of(context).colorScheme.focusedBorder;
} }
return Theme.of(context).colorScheme.border; return Theme.of(context).colorScheme.hint;
} }
@override @override

View File

@ -285,6 +285,11 @@ class AudioPlayerWidget extends StatelessWidget {
timerValue--; timerValue--;
if (timerValue == 0) { if (timerValue == 0) {
MediaService.audioPlayer.stop(); MediaService.audioPlayer.stop();
state.stopOnPodcastEnds = false;
state.timer?.cancel();
state.timer = null;
state.timerValue = 10;
state.update();
} }
}, },
); );