summaryrefslogtreecommitdiff
path: root/src/displayapp/screens/Tile.cpp
diff options
context:
space:
mode:
authorJean-François Milants <jf@codingfield.com>2021-03-20 10:41:49 (GMT)
committerJean-François Milants <jf@codingfield.com>2021-03-20 10:41:49 (GMT)
commit405c85c160b0d72407498a25555677d484b822f1 (patch)
tree71b22af329f7b5ee7a6f37ddca4c738f0e379593 /src/displayapp/screens/Tile.cpp
parente63596b291f973cdeb01cd0ac276861895bd4489 (diff)
parent9e9bb2085e70a9c8b8c2e74f6027f5392e366158 (diff)
Merge branch 'develop' of github.com:JF002/Pinetime into develop
# Conflicts: # src/main.cpp # src/systemtask/SystemTask.h
Diffstat (limited to 'src/displayapp/screens/Tile.cpp')
-rw-r--r--src/displayapp/screens/Tile.cpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/displayapp/screens/Tile.cpp b/src/displayapp/screens/Tile.cpp
index 3b82b06..ca753db 100644
--- a/src/displayapp/screens/Tile.cpp
+++ b/src/displayapp/screens/Tile.cpp
@@ -10,7 +10,10 @@ static void event_handler(lv_obj_t * obj, lv_event_t event) {
screen->OnObjectEvent(obj, event, eventData);
}
-Tile::Tile(DisplayApp* app, std::array<Applications, 6>& applications) : Screen(app) {
+Tile::Tile(uint8_t screenID, DisplayApp* app, Controllers::Settings& settingsController, std::array<Applications, 6>& applications) : Screen(app) {
+
+ settingsController.SetAppMenu(screenID);
+
for(int i = 0, appIndex = 0; i < 8; i++) {
if(i == 3) btnm_map1[i] = "\n";
else if(i == 7) btnm_map1[i] = "";