diff options
Diffstat (limited to 'source/app/OtpWalletApp.mc')
| -rw-r--r-- | source/app/OtpWalletApp.mc | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/source/app/OtpWalletApp.mc b/source/app/OtpWalletApp.mc index 7419433..596ccc2 100644 --- a/source/app/OtpWalletApp.mc +++ b/source/app/OtpWalletApp.mc @@ -54,6 +54,15 @@ class OtpWalletApp extends Application.AppBase { return [list, new ListDelegate(list)]; } + // The phone sent new settings (only while the full app runs). + (:typecheck(disableGlanceCheck)) + function onSettingsChanged() as Void { + if (_started) { + AppState.settingsChanged(); + WatchUi.requestUpdate(); + } + } + (:glance) function getGlanceView() as [WatchUi.GlanceView] or [WatchUi.GlanceView, WatchUi.GlanceViewDelegate] or Null { return [new OtpGlanceView()]; |
