summaryrefslogtreecommitdiff
path: root/src/DisplayApp/Screens/Clock.cpp
diff options
context:
space:
mode:
authorJF <jf@codingfield.com>2020-03-01 19:09:59 +0100
committerJF <jf@codingfield.com>2020-03-01 19:09:59 +0100
commit5bc0640b735573b465cfef16fb729ad5f5149eb4 (patch)
treec5e5ad9b23b34dff9d8d3d3eee68812d9f1cbabe /src/DisplayApp/Screens/Clock.cpp
parent21375eab81ea384fe94177617e23892fd8210c1d (diff)
Fix typo in the name of the font "jetbrains_mono_extrabold_compressed" + use it as the default font.
Diffstat (limited to 'src/DisplayApp/Screens/Clock.cpp')
-rw-r--r--src/DisplayApp/Screens/Clock.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/DisplayApp/Screens/Clock.cpp b/src/DisplayApp/Screens/Clock.cpp
index f0bd8338..1dff88c2 100644
--- a/src/DisplayApp/Screens/Clock.cpp
+++ b/src/DisplayApp/Screens/Clock.cpp
@@ -7,7 +7,7 @@
#include "../DisplayApp.h"
using namespace Pinetime::Applications::Screens;
-extern lv_font_t jetbrains_mono_extrabold_compressedextrabold_compressed;
+extern lv_font_t jetbrains_mono_extrabold_compressed;
extern lv_font_t jetbrains_mono_bold_20;
static void event_handler(lv_obj_t * obj, lv_event_t event) {
@@ -33,7 +33,7 @@ Clock::Clock(DisplayApp* app,
labelStyle->text.font = &jetbrains_mono_bold_20;
lv_style_copy(&labelBigStyle, labelStyle);
- labelBigStyle.text.font = &jetbrains_mono_extrabold_compressedextrabold_compressed;
+ labelBigStyle.text.font = &jetbrains_mono_extrabold_compressed;
lv_label_set_style(label_battery, LV_LABEL_STYLE_MAIN, labelStyle);