Replace airplane mode with a bluetooth toggle

This commit is contained in:
Riku Isokoski
2022-04-02 16:03:20 +03:00
committed by JF
parent 8f436e1d74
commit 78365548f7
14 changed files with 72 additions and 90 deletions

View File

@@ -121,7 +121,7 @@ void WatchFaceDigital::Refresh() {
bleState = bleController.IsConnected();
bleRadioEnabled = bleController.IsRadioEnabled();
if (bleState.IsUpdated() || bleRadioEnabled.IsUpdated()) {
lv_label_set_text(bleIcon, BleIcon::GetIcon(bleRadioEnabled.Get(), bleState.Get()));
lv_label_set_text(bleIcon, BleIcon::GetIcon(bleState.Get()));
}
lv_obj_realign(batteryIcon);
lv_obj_realign(batteryPlug);