Files
SubMusic/source/SubMusicConfigureSyncView.mc
memen45 1bde3dd15d v0.0.13 - nu
Added "Server Info" option to the menu to test connection
2020-07-14 23:12:28 +02:00

29 lines
846 B
MonkeyC

using Toybox.WatchUi;
// This is the menu with options to show before sync
class SubMusicConfigureSyncView extends WatchUi.Menu2 {
function initialize() {
Menu2.initialize({:title=>Rez.Strings.confSync_Title});
addItem(new WatchUi.MenuItem(
Rez.Strings.confSync_Playlists_label, // label
null, // sublabel
SyncMenu.PLAYLISTS, // identifier
null
));
addItem(new WatchUi.MenuItem(
Rez.Strings.confSync_startsync, // label
null, // sublabel
SyncMenu.START_SYNC, // identifier
null
));
addItem(new WatchUi.MenuItem(
Rez.Strings.confSync_Test_label, // label
Rez.Strings.confSync_Test_sublabel, // sublabel
SyncMenu.TEST, // identifier
null
));
}
}