From f0305e87c19612543279623d741c80f408217888 Mon Sep 17 00:00:00 2001 From: RogueMaster Date: Mon, 17 Oct 2022 00:19:34 -0400 Subject: [PATCH] Update reboot_view.c --- applications/plugins/ifttt/views/reboot_view.c | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/applications/plugins/ifttt/views/reboot_view.c b/applications/plugins/ifttt/views/reboot_view.c index dcfd2ef2c..d3162c9e2 100644 --- a/applications/plugins/ifttt/views/reboot_view.c +++ b/applications/plugins/ifttt/views/reboot_view.c @@ -63,7 +63,7 @@ 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), + RebootViewModel * model, { if(event->type == InputTypePress) { if(event->key == InputKeyUp) { @@ -133,8 +133,10 @@ View* reboot_view_get_view(RebootView* reboot_view) { void reboot_view_set_data(RebootView* reboot_view, bool connected) { furi_assert(reboot_view); with_view_model( - reboot_view->view, (RebootViewModel * model) { + reboot_view->view, + RebootViewModel * model, + { model->connected = connected; - return true; - }); + }, + true); } \ No newline at end of file