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

19 lines
337 B
MonkeyC

using Toybox.WatchUi;
class SubMusicConfirmationDelegate extends WatchUi.ConfirmationDelegate {
var d_callback;
function initialize(callback) {
ConfirmationDelegate.initialize();
d_callback = callback;
}
function onResponse(response) {
if (response != WatchUi.CONFIRM_YES) {
return;
}
d_callback.invoke();
}
}