diff options
| author | Michele Bini <michele.bini@gmail.com> | 2022-04-10 07:52:04 (GMT) |
|---|---|---|
| committer | Michele Bini <michele.bini@gmail.com> | 2022-04-10 07:52:04 (GMT) |
| commit | 9bfd61c5efb43fa180aa21513de5697ece7dfa1c (patch) | |
| tree | e6325d5e4e7b813416f13d8b05436d08469b18a7 /src/displayapp/screens/WatchFaceAnalog24.cpp | |
| parent | c21518adfc7df5478a5e51d77e1b6915dfc470dd (diff) | |
fix repeated code
Diffstat (limited to 'src/displayapp/screens/WatchFaceAnalog24.cpp')
| -rw-r--r-- | src/displayapp/screens/WatchFaceAnalog24.cpp | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/src/displayapp/screens/WatchFaceAnalog24.cpp b/src/displayapp/screens/WatchFaceAnalog24.cpp index 6138694..29c1095 100644 --- a/src/displayapp/screens/WatchFaceAnalog24.cpp +++ b/src/displayapp/screens/WatchFaceAnalog24.cpp @@ -81,12 +81,6 @@ WatchFaceAnalog24::WatchFaceAnalog24(Pinetime::Applications::DisplayApp* app, lv_obj_align(bleIcon, batteryIcon, LV_ALIGN_OUT_BOTTOM_RIGHT, 0, 0); lv_obj_set_auto_realign(bleIcon, true); - bleIcon = lv_label_create(lv_scr_act(), nullptr); - lv_obj_set_style_local_text_color(bleIcon, LV_LABEL_PART_MAIN, LV_STATE_DEFAULT, lv_color_hex(0x0082FC)); - lv_label_set_text_static(bleIcon, Symbols::bluetooth); - lv_obj_align(bleIcon, batteryIcon, LV_ALIGN_OUT_BOTTOM_RIGHT, 0, 0); - lv_obj_set_auto_realign(bleIcon, true); - notificationIcon = lv_label_create(lv_scr_act(), NULL); lv_obj_set_style_local_text_color(notificationIcon, LV_LABEL_PART_MAIN, LV_STATE_DEFAULT, lv_color_hex(0x00FF00)); lv_label_set_text(notificationIcon, NotificationIcon::GetIcon(false)); |
