summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichele Bini <michele.bini@gmail.com>2022-05-12 00:37:15 (GMT)
committerMichele Bini <michele.bini@gmail.com>2022-05-12 00:37:15 (GMT)
commit8b4861d25c652a39f2e2f4332d286b225583b1e7 (patch)
tree9e4d18b2b2bc91761bc6f317f46c6263a5c8baa9
parent72d0f103a8bc1048ff9729aee65070475977b5a3 (diff)
Integration fix
-rw-r--r--src/displayapp/screens/WatchFaceAnalog24.cpp5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/displayapp/screens/WatchFaceAnalog24.cpp b/src/displayapp/screens/WatchFaceAnalog24.cpp
index 29c1095..00df484 100644
--- a/src/displayapp/screens/WatchFaceAnalog24.cpp
+++ b/src/displayapp/screens/WatchFaceAnalog24.cpp
@@ -206,9 +206,8 @@ void WatchFaceAnalog24::Refresh() {
}
bleState = bleController.IsConnected();
- bleRadioEnabled = bleController.IsRadioEnabled();
- if (bleState.IsUpdated() || bleRadioEnabled.IsUpdated()) {
- lv_label_set_text(bleIcon, BleIcon::GetIcon(bleRadioEnabled.Get(), bleState.Get()));
+ if (bleState.IsUpdated()) {
+ lv_label_set_text(bleIcon, BleIcon::GetIcon(bleState.Get()));
}
notificationState = notificationManager.AreNewNotificationsAvailable();