Files
SubMusic/source/View/SubMusicConfigureSyncDebugView.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

29 lines
1001 B
MonkeyC

using Toybox.WatchUi;
// This is the menu with options to show before sync
class SubMusicConfigureSyncDebugView extends WatchUi.Menu2 {
function initialize() {
Menu2.initialize({:title=>Rez.Strings.confSync_DebugInfo_label});
addItem(new WatchUi.MenuItem(
Rez.Strings.confSync_DebugInfo_ServerDetail_label, // label
Rez.Strings.confSync_DebugInfo_ServerDetail_sublabel, // sublabel
SyncDebugMenu.SERVER_DETAIL, // identifier
null
));
addItem(new WatchUi.MenuItem(
Rez.Strings.confSync_DebugInfo_TestServer_label, // label
null, // sublabel
SyncDebugMenu.TEST_SERVER, // identifier
null
));
addItem(new WatchUi.MenuItem(
Rez.Strings.confSync_DebugInfo_RemoveAll_label, // label
Rez.Strings.confSync_DebugInfo_RemoveAll_sublabel, // sublabel
SyncDebugMenu.REMOVE_ALL, // identifier
null
));
}
}