Files
SubMusic/source/View/SubMusicConfigurePlaybackMenuDelegate.mc
memen45 f26e33df0d Added menu options (debug options)
- fixed progressbar - only count songs that are not yet local
- fixed crash on sync empty playlist (progress divide by 0)
- fixed initial Sync setup (removed deprecated uses)
- fixed crashes on Error handling
- added last sync time record
- added support for descentmk2 device
2020-12-02 16:54:17 +01:00

22 lines
464 B
MonkeyC

using Toybox.WatchUi;
class SubMusicConfigurePlaybackMenuDelegate extends WatchUi.BehaviorDelegate {
function initialize() {
BehaviorDelegate.initialize();
}
function onSelect(item) {
// store selection as current playlist
Application.Storage.setValue(Storage.PLAYLIST, item.getId());
Media.startPlayback(null);
}
function onBack() {
WatchUi.popView(WatchUi.SLIDE_IMMEDIATE);
}
}