summaryrefslogtreecommitdiff
path: root/src/displayapp/screens/Alarm.h
diff options
context:
space:
mode:
authorMaxim Leshchenko <cnmaks90@gmail.com>2021-09-28 19:50:09 (GMT)
committerMaxim Leshchenko <cnmaks90@gmail.com>2021-09-28 19:50:09 (GMT)
commitd86ae69961231aaa177ed146ad829c93943f600c (patch)
tree587a5aa8924a79d0910cf437a9c96ec8a81a71a3 /src/displayapp/screens/Alarm.h
parente9bb0b3cdd0e1b95b7bfdcfb94db5a6a0966eed7 (diff)
Alarm: Close the popup with information about the time until alarm with the back button
Previously, pressing the back button would close the alarm app anyway. Now if you press on it and the popup with information is open, it will first close and the second press will close the application
Diffstat (limited to 'src/displayapp/screens/Alarm.h')
-rw-r--r--src/displayapp/screens/Alarm.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/displayapp/screens/Alarm.h b/src/displayapp/screens/Alarm.h
index abf97eb..edd211b 100644
--- a/src/displayapp/screens/Alarm.h
+++ b/src/displayapp/screens/Alarm.h
@@ -31,6 +31,7 @@ namespace Pinetime {
~Alarm() override;
void SetAlerting();
void OnButtonEvent(lv_obj_t* obj, lv_event_t event);
+ bool OnButtonPushed() override;
private:
bool running;