mirror of
https://github.com/stonega/tsacdop
synced 2025-02-17 20:10:37 +01:00
Stop audoio service after removed from recent.
This commit is contained in:
parent
5bcdc7d5c3
commit
ff719ff90b
@ -4,19 +4,19 @@
|
||||
|
||||
Release date 2020/9/15
|
||||
|
||||
## New features
|
||||
### New features
|
||||
|
||||
* Discovery feature in search page.
|
||||
* Multi select in podcast page.
|
||||
* Customize the speed options available.
|
||||
|
||||
## Bugs fixed
|
||||
### Bugs fixed
|
||||
|
||||
* Fix download error when podcast name includes /.
|
||||
* Make the group name editable directly.
|
||||
* Fixed shownote timestamp click error.
|
||||
|
||||
## Minor changes
|
||||
### Minor changes
|
||||
|
||||
* Update donate button UI.
|
||||
|
||||
|
@ -5,7 +5,7 @@ import 'package:line_icons/line_icons.dart';
|
||||
import '../util/custom_widget.dart';
|
||||
import '../util/extension_helper.dart';
|
||||
|
||||
const String version = '0.4.16';
|
||||
const String version = '0.4.17';
|
||||
|
||||
class AboutApp extends StatelessWidget {
|
||||
Widget _listItem(
|
||||
|
@ -989,6 +989,11 @@ class AudioPlayerTask extends BackgroundAudioTask {
|
||||
await super.onStop();
|
||||
}
|
||||
|
||||
@override
|
||||
Future<void> onTaskRemoved() async {
|
||||
onStop();
|
||||
}
|
||||
|
||||
@override
|
||||
Future<void> onAddQueueItem(MediaItem mediaItem) async {
|
||||
_queue.add(mediaItem);
|
||||
|
@ -1,7 +1,7 @@
|
||||
name: tsacdop
|
||||
description: An open source podacasts player.
|
||||
|
||||
version: 0.4.16+33
|
||||
version: 0.4.17+34
|
||||
|
||||
environment:
|
||||
sdk: ">=2.6.0 <3.0.0"
|
||||
@ -12,7 +12,7 @@ dependencies:
|
||||
flutter_localizations:
|
||||
sdk: flutter
|
||||
auto_animated: ^2.1.0
|
||||
audio_session: ^0.0.6
|
||||
audio_session: ^0.0.7
|
||||
cached_network_image: ^2.3.1
|
||||
color_thief_flutter: ^1.0.2
|
||||
cupertino_icons: ^1.0.0
|
||||
|
Loading…
x
Reference in New Issue
Block a user