mirror of
https://github.com/memen45/SubMusic.git
synced 2026-12-06 07:53:58 +01:00
- 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
21 lines
536 B
Mason
21 lines
536 B
Mason
using Toybox.WatchUi;
|
|
|
|
class SubMusicConfigurePlaybackDelegate extends WatchUi.BehaviorDelegate {
|
|
|
|
function initialize() {
|
|
BehaviorDelegate.initialize();
|
|
}
|
|
|
|
function onSelect() {
|
|
// tap on the empty screen opens the sync menu
|
|
var view = new SubMusicConfigureSyncView();
|
|
var delegate = new SubMusicConfigureSyncDelegate(false);
|
|
WatchUi.switchToView(view, delegate, WatchUi.SLIDE_IMMEDIATE);
|
|
}
|
|
|
|
function onBack() {
|
|
WatchUi.popView(WatchUi.SLIDE_IMMEDIATE);
|
|
}
|
|
|
|
}
|