summaryrefslogtreecommitdiff
path: root/src/DisplayApp/DisplayApp.cpp
diff options
context:
space:
mode:
authorJF <jf@codingfield.com>2020-03-01 18:09:59 (GMT)
committerJF <jf@codingfield.com>2020-03-01 18:09:59 (GMT)
commit5bc0640b735573b465cfef16fb729ad5f5149eb4 (patch)
treec5e5ad9b23b34dff9d8d3d3eee68812d9f1cbabe /src/DisplayApp/DisplayApp.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/DisplayApp.cpp')
-rw-r--r--src/DisplayApp/DisplayApp.cpp11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/DisplayApp/DisplayApp.cpp b/src/DisplayApp/DisplayApp.cpp
index 316312e..d7d62dd 100644
--- a/src/DisplayApp/DisplayApp.cpp
+++ b/src/DisplayApp/DisplayApp.cpp
@@ -120,6 +120,17 @@ void DisplayApp::Refresh() {
if(!currentScreen->OnButtonPushed()) {
systemTask.PushMessage(System::SystemTask::Messages::GoToSleep);
}
+// currentScreen.reset(nullptr);
+// if(toggle) {
+// modal.Show();
+//// currentScreen.reset(new Screens::Tile(this));
+// toggle = false;
+// } else {
+// modal.Hide();
+//// currentScreen.reset(new Screens::Clock(this, dateTimeController, batteryController, bleController));
+// toggle = true;
+// }
+
break;
}
}