aboutsummaryrefslogtreecommitdiff
path: root/src/main.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/main.cpp')
-rw-r--r--src/main.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main.cpp b/src/main.cpp
index 729f0e5..034a5ef 100644
--- a/src/main.cpp
+++ b/src/main.cpp
@@ -157,7 +157,7 @@ main(int /*argc*/, char** /*argv*/)
snooze_planner->add(appointment, alarm);
};
auto on_ok = [actions](const Appointment& app, const Alarm&){
- actions->phone_open_appointment(app, app.begin);
+ actions->open_appointment(app, app.begin);
};
auto on_alarm_reached = [&engine, &snap, &on_snooze, &on_ok](const Appointment& appointment, const Alarm& alarm) {
(*snap)(appointment, alarm, on_snooze, on_ok);