summaryrefslogtreecommitdiff
path: root/src/DisplayApp/Screens/Tile.cpp
diff options
context:
space:
mode:
authorJF <jf@codingfield.com>2020-03-01 17:20:27 +0100
committerJF <jf@codingfield.com>2020-03-01 17:20:27 +0100
commita1d79e7ecc64aa78299329a2431a76b5c951feca (patch)
tree73f9df6f216db04c6f35b38dc44f224ffc97beeb /src/DisplayApp/Screens/Tile.cpp
parent63c57258821b356dfdfd0c73ab24bb918f23a8ae (diff)
Fix Model that would crash when closing it.
Diffstat (limited to 'src/DisplayApp/Screens/Tile.cpp')
-rw-r--r--src/DisplayApp/Screens/Tile.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/DisplayApp/Screens/Tile.cpp b/src/DisplayApp/Screens/Tile.cpp
index 8028d779..72fe35bc 100644
--- a/src/DisplayApp/Screens/Tile.cpp
+++ b/src/DisplayApp/Screens/Tile.cpp
@@ -16,7 +16,7 @@ static void event_handler(lv_obj_t * obj, lv_event_t event) {
screen->OnObjectEvent(obj, event, eventData);
}
-static const char * btnm_map1[] = {"Meter", "Gauge", "Clock", "\n", "App1", "App2", "App3", ""};
+static const char * btnm_map1[] = {"Meter", "Gauge", "Clock", "\n", "MsgBox", "App2", "App3", ""};
Tile::Tile(DisplayApp* app) : Screen(app) {
modal.reset(new Modal(app));
@@ -123,8 +123,8 @@ void Tile::OnObjectEvent(lv_obj_t *obj, lv_event_t event, uint32_t buttonId) {
tile->StartClockApp();
break;
case 3:
-// modal->Show();
-// break;
+ modal->Show();
+ break;
case 4:
case 5:
tile->StartTestApp();