summaryrefslogtreecommitdiff
path: root/src/DisplayApp/Screens/Modal.h
diff options
context:
space:
mode:
authorJF <jf@codingfield.com>2020-03-28 19:05:28 +0100
committerJF <jf@codingfield.com>2020-03-28 19:05:28 +0100
commitbaca0fc3e59e88420d6c7983ad133fe63c794ec0 (patch)
treee817de0b040712bb95129520fcc51eae59ecc161 /src/DisplayApp/Screens/Modal.h
parent68240704c7a60534342cfc0157564f11cf82d9d8 (diff)
Encapsulate Notification management in NotificationManager. It implement a static array of notifications to avoid dynamic allocation.
Diffstat (limited to 'src/DisplayApp/Screens/Modal.h')
-rw-r--r--src/DisplayApp/Screens/Modal.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/DisplayApp/Screens/Modal.h b/src/DisplayApp/Screens/Modal.h
index b13b5c60..b5425906 100644
--- a/src/DisplayApp/Screens/Modal.h
+++ b/src/DisplayApp/Screens/Modal.h
@@ -22,8 +22,7 @@ namespace Pinetime {
Modal(DisplayApp* app);
~Modal() override;
- void Show();
- void Show(const std::string& message);
+ void Show(const char* msg);
void Hide();
bool Refresh() override;
@@ -39,7 +38,6 @@ namespace Pinetime {
lv_obj_t *info;
bool running = true;
bool isVisible = false;
- std::string message;
};
}