File tree 2 files changed +8
-5
lines changed
2 files changed +8
-5
lines changed Original file line number Diff line number Diff line change 14
14
//
15
15
// Description:
16
16
//
17
- // Home Assistant settings.
17
+ // Home Assistant settings.
18
+ //
19
+ // WARNING!
20
+ //
21
+ // Careful putting ErrorView.show() calls in here. They need to be guarded so that
22
+ // they do not get called when only displaying the glance view.
18
23
//
19
24
// -----------------------------------------------------------------------------------
20
25
@@ -93,8 +98,6 @@ class Settings {
93
98
Background .deleteTemporalEvent ();
94
99
Background .deleteActivityCompletedEvent ();
95
100
}
96
- } else {
97
- ErrorView .show (WatchUi .loadResource ($ .Rez .Strings .NoPhone ) as Lang .String );
98
101
}
99
102
} else {
100
103
// Explicitly disable the background event which persists when the application closes.
Original file line number Diff line number Diff line change @@ -260,7 +260,7 @@ class WebhookManager {
260
260
];
261
261
262
262
if (Toybox has :ActivityMonitor ) {
263
- System .println (" WebhookManager registerWebhookSensors(): has ActivityMonitor class" );
263
+ // System.println("WebhookManager registerWebhookSensors(): has ActivityMonitor class");
264
264
var activityInfo = ActivityMonitor .getInfo ();
265
265
sensors .add ({
266
266
"name" => "Steps today",
@@ -309,7 +309,7 @@ class WebhookManager {
309
309
});
310
310
}
311
311
} else {
312
- System .println (" WebhookManager registerWebhookSensors(): has no ActivityMonitor class" );
312
+ // System.println("WebhookManager registerWebhookSensors(): has no ActivityMonitor class");
313
313
}
314
314
315
315
if (Activity has :getProfileInfo ) {
You can’t perform that action at this time.
0 commit comments