0.6.11 - noone cares or reads this anyway, the repo is for issues, and the code so bad, it's practically obfuscated
This commit is contained in:
parent
9f850a6f30
commit
aa7f82b399
11 changed files with 111 additions and 31 deletions
|
|
@ -323,6 +323,7 @@ class MenuSheet {
|
|||
onTap: () async {
|
||||
if (isOffline) {
|
||||
await downloadManager.removeOfflineTracks([track]);
|
||||
Fluttertoast.showToast(msg: "Track removed from offline!".i18n, gravity: ToastGravity.BOTTOM, toastLength: Toast.LENGTH_SHORT);
|
||||
} else {
|
||||
await downloadManager.addOfflineTrack(track, private: true, context: context);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue