Slight text updates

This commit is contained in:
VerstreuteSeele
2022-12-25 07:53:43 +01:00
parent 6118b8deb3
commit 3e6f3e7bd0
3 changed files with 12 additions and 13 deletions

View File

@@ -16,7 +16,7 @@ void desktop_scene_fault_on_enter(void* context) {
popup_set_context(popup, desktop); popup_set_context(popup, desktop);
popup_set_header( popup_set_header(
popup, popup,
"Flipper crashed\n and was rebooted", "Slut passed out\n but is now back",
60, 60,
14 + STATUS_BAR_Y_SHIFT, 14 + STATUS_BAR_Y_SHIFT,
AlignCenter, AlignCenter,

View File

@@ -61,18 +61,17 @@ bool desktop_main_input_callback(InputEvent* event, void* context) {
main_view->callback(DesktopMainEventOpenClock, main_view->context); main_view->callback(DesktopMainEventOpenClock, main_view->context);
} }
// Right key is handled by animation manager // Right key is handled by animation manager
} else if(event->type == InputTypeLong) { } else if(event->type == InputTypeLong) {
if(event->key == InputKeyOk) { if(event->key == InputKeyOk) {
main_view->callback(DesktopAnimationEventNewIdleAnimation, main_view->context); main_view->callback(DesktopAnimationEventNewIdleAnimation, main_view->context);
} else if(event->key == InputKeyUp) { } else if(event->key == InputKeyUp) {
main_view->callback(DesktopMainEventOpenFavoriteSecondary, main_view->context); main_view->callback(DesktopMainEventOpenFavoritePrimary, main_view->context);
} else if(event->key == InputKeyDown) { } else if(event->key == InputKeyDown) {
main_view->callback(DesktopMainEventOpenFavoritePrimary, main_view->context); main_view->callback(DesktopMainEventOpenFavoriteSecondary, main_view->context);
} else if(event->key == InputKeyLeft) { } else if(event->key == InputKeyLeft) {
main_view->callback( main_view->callback(DesktopMainEventOpenSubRemote, main_view->context); // OPENS SUBGHZ REMOTE
DesktopMainEventOpenSubRemote, main_view->context); // OPENS SUBGHZ REMOTE
}
} }
}
if(event->key == InputKeyBack) { if(event->key == InputKeyBack) {
if(event->type == InputTypePress) { if(event->type == InputTypePress) {

View File

@@ -69,7 +69,7 @@ void desktop_settings_scene_favorite_on_enter(void* context) {
} }
submenu_set_header( submenu_set_header(
submenu, primary_favorite ? "Primary favorite app:" : "Secondary favorite app:"); submenu, primary_favorite ? "Secondary favorite app:" : "Primary favorite app:");
submenu_set_selected_item(submenu, pre_select_item); // If set during loop, visual glitch. submenu_set_selected_item(submenu, pre_select_item); // If set during loop, visual glitch.
view_dispatcher_switch_to_view(app->view_dispatcher, DesktopSettingsAppViewMenu); view_dispatcher_switch_to_view(app->view_dispatcher, DesktopSettingsAppViewMenu);