aboutsummaryrefslogtreecommitdiffstats
path: root/src/DisplayApp/Screens
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
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')
-rw-r--r--src/DisplayApp/Screens/Clock.cpp4
-rw-r--r--src/DisplayApp/Screens/Gauge.cpp2
-rw-r--r--src/DisplayApp/Screens/Meter.cpp2
-rw-r--r--src/DisplayApp/Screens/Modal.cpp2
4 files changed, 5 insertions, 5 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);
diff --git a/src/DisplayApp/Screens/Gauge.cpp b/src/DisplayApp/Screens/Gauge.cpp
index 33f76a74..4c4cccd9 100644
--- a/src/DisplayApp/Screens/Gauge.cpp
+++ b/src/DisplayApp/Screens/Gauge.cpp
@@ -3,7 +3,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;
diff --git a/src/DisplayApp/Screens/Meter.cpp b/src/DisplayApp/Screens/Meter.cpp
index 9daafad3..c74b8bdf 100644
--- a/src/DisplayApp/Screens/Meter.cpp
+++ b/src/DisplayApp/Screens/Meter.cpp
@@ -3,7 +3,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;
diff --git a/src/DisplayApp/Screens/Modal.cpp b/src/DisplayApp/Screens/Modal.cpp
index 13bd42fa..7a0264e3 100644
--- a/src/DisplayApp/Screens/Modal.cpp
+++ b/src/DisplayApp/Screens/Modal.cpp
@@ -3,7 +3,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;
Modal::Modal(Pinetime::Applications::DisplayApp *app) : Screen(app) {