Update MusicBottomSheetHook.java
This commit is contained in:
@@ -117,7 +117,6 @@ public class MusicBottomSheetHook {
|
|||||||
|
|
||||||
if (actionId == AndroidUtils.getIdentifier("download_mp3", "id")) {
|
if (actionId == AndroidUtils.getIdentifier("download_mp3", "id")) {
|
||||||
AudioDownloader.downloadAudio(track);
|
AudioDownloader.downloadAudio(track);
|
||||||
AndroidUtils.sendToast("download_mp3");
|
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -130,13 +129,11 @@ public class MusicBottomSheetHook {
|
|||||||
|
|
||||||
if (actionId == AndroidUtils.getIdentifier("add_to_cache", "id")) {
|
if (actionId == AndroidUtils.getIdentifier("add_to_cache", "id")) {
|
||||||
AudioDownloader.cachePlaylist(playlist);
|
AudioDownloader.cachePlaylist(playlist);
|
||||||
AndroidUtils.sendToast("add_to_cache");
|
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (actionId == AndroidUtils.getIdentifier("download_mp3", "id")) {
|
if (actionId == AndroidUtils.getIdentifier("download_mp3", "id")) {
|
||||||
AudioDownloader.downloadPlaylist(playlist);
|
AudioDownloader.downloadPlaylist(playlist);
|
||||||
AndroidUtils.sendToast("download_mp3");
|
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user