From 111786ef40e50a40d2e510595672b569d9b97bba Mon Sep 17 00:00:00 2001 From: Zycenios Date: Wed, 30 Mar 2022 23:54:03 -0700 Subject: [PATCH] Hold back to change idle animation --- applications/desktop/views/desktop_view_main.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/applications/desktop/views/desktop_view_main.c b/applications/desktop/views/desktop_view_main.c index 091b0855a35..cc3c66d8f0f 100644 --- a/applications/desktop/views/desktop_view_main.c +++ b/applications/desktop/views/desktop_view_main.c @@ -51,7 +51,9 @@ bool desktop_main_input(InputEvent* event, void* context) { } else if(event->type == InputTypeLong) { if(event->key == InputKeyDown) { main_view->callback(DesktopMainEventOpenDebug, main_view->context); - } + } else if (event->key == InputKeyBack) { + main_view->callback(DesktopAnimationEventNewIdleAnimation, main_view->context); // Change the idle animation if you long-press back. - Xander 3/29/2022 + } } return true;