summaryrefslogtreecommitdiff
path: root/src/displayapp/screens/PineTimeStyle.cpp
diff options
context:
space:
mode:
authorMichele Bini <michele.bini@gmail.com>2022-05-12 04:27:58 (GMT)
committerMichele Bini <michele.bini@gmail.com>2022-05-12 04:27:58 (GMT)
commit2643cda7fee510462efc4447f3ca41f568ae8bce (patch)
tree37542da8bdf12ff732a9796c7be28a6a64c514c5 /src/displayapp/screens/PineTimeStyle.cpp
parent6e9eafeba44fd0e698cf288704a5eb2fc6bd76aa (diff)
rm bleRadioEnabled tracking when the change is not used by the watch face
Diffstat (limited to 'src/displayapp/screens/PineTimeStyle.cpp')
-rw-r--r--src/displayapp/screens/PineTimeStyle.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/displayapp/screens/PineTimeStyle.cpp b/src/displayapp/screens/PineTimeStyle.cpp
index e807289..c82ef80 100644
--- a/src/displayapp/screens/PineTimeStyle.cpp
+++ b/src/displayapp/screens/PineTimeStyle.cpp
@@ -372,8 +372,7 @@ void PineTimeStyle::Refresh() {
}
bleState = bleController.IsConnected();
- bleRadioEnabled = bleController.IsRadioEnabled();
- if (bleState.IsUpdated() || bleRadioEnabled.IsUpdated()) {
+ if (bleState.IsUpdated()) {
lv_label_set_text(bleIcon, BleIcon::GetIcon(bleState.Get()));
AlignIcons();
}