From 2c5e64a9b3852ffed556504f8b1d94c29539530a Mon Sep 17 00:00:00 2001 From: RogueMaster Date: Mon, 17 Oct 2022 00:16:01 -0400 Subject: [PATCH] Update reboot_view.c --- applications/plugins/ifttt/views/reboot_view.c | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/applications/plugins/ifttt/views/reboot_view.c b/applications/plugins/ifttt/views/reboot_view.c index 0ad0eff48..dcfd2ef2c 100644 --- a/applications/plugins/ifttt/views/reboot_view.c +++ b/applications/plugins/ifttt/views/reboot_view.c @@ -62,7 +62,9 @@ static void reboot_view_draw_callback(Canvas* canvas, void* context) { static void reboot_view_process(RebootView* reboot_view, InputEvent* event) { with_view_model( - reboot_view->view, (RebootViewModel * model) { + reboot_view->view, + (RebootViewModel * model), + { if(event->type == InputTypePress) { if(event->key == InputKeyUp) { } else if(event->key == InputKeyDown) { @@ -87,8 +89,8 @@ static void reboot_view_process(RebootView* reboot_view, InputEvent* event) { if(event->key == InputKeyBack) { } } - return true; - }); + }, + true); } static bool reboot_view_input_callback(InputEvent* event, void* context) {