mirror of
https://github.com/memen45/SubMusic.git
synced 2026-12-07 00:04:53 +01:00
35 lines
1.2 KiB
Mason
35 lines
1.2 KiB
Mason
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_Donate_label, // label
|
|
null, // sublabel
|
|
SyncDebugMenu.DONATE, // 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
|
|
));
|
|
}
|
|
}
|