From 7c7130367fa37940f63f513bd52d003651f90cba Mon Sep 17 00:00:00 2001 From: Philip Abbey Date: Sun, 18 Aug 2024 12:26:45 +0100 Subject: [PATCH] Update Settings.mc Rearranged 'else' clauses. --- source/Settings.mc | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/source/Settings.mc b/source/Settings.mc index 404f163..c7f0e90 100644 --- a/source/Settings.mc +++ b/source/Settings.mc @@ -103,13 +103,13 @@ class Settings { Background.deleteActivityCompletedEvent(); } } else { - // Explicitly disable the background event which persists when the application closes. - // If !mHasService disable the Settings option as user feedback - unsetIsSensorsLevelEnabled(); - unsetWebhookId(); + ErrorView.show(WatchUi.loadResource($.Rez.Strings.NoPhone) as Lang.String); } } else { - ErrorView.show(WatchUi.loadResource($.Rez.Strings.NoPhone) as Lang.String); + // Explicitly disable the background event which persists when the application closes. + // If !mHasService disable the Settings option as user feedback + unsetIsSensorsLevelEnabled(); + unsetWebhookId(); } } // System.println("Settings update(): getTemporalEventRegisteredTime() = " + Background.getTemporalEventRegisteredTime());