mirror of
https://github.com/memen45/SubMusic.git
synced 2026-11-29 09:11:06 +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
29 lines
1001 B
MonkeyC
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
|
|
));
|
|
}
|
|
}
|