0.5.6 - Android Auto updates, option to disable nomedia, shuffle fix, minor fixes

This commit is contained in:
exttex 2020-10-15 20:37:36 +02:00
parent 11d93482ff
commit e775e74d8e
35 changed files with 433 additions and 153 deletions

View file

@ -72,6 +72,15 @@ class _DownloadsScreenState extends State<DownloadsScreen> {
appBar: AppBar(
title: Text('Downloads'.i18n),
actions: [
IconButton(
icon: Icon(Icons.delete_sweep),
onPressed: () async {
await downloadManager.removeDownloads(DownloadState.ERROR);
await downloadManager.removeDownloads(DownloadState.DEEZER_ERROR);
await downloadManager.removeDownloads(DownloadState.DONE);
await _load();
},
),
IconButton(
icon:
Icon(downloadManager.running ? Icons.stop : Icons.play_arrow),