Who tf wrote this, and why? | Biggest stability update ever

Bro, what the fuck is this bullshit? I swear imma go cry if I see more shit like that...
This commit is contained in:
VerstreuteSeele
2023-01-06 01:45:02 +01:00
parent f082ca1915
commit a026ab37bd
199 changed files with 152 additions and 1068 deletions

View File

@@ -12,6 +12,6 @@ App(
],
provides=["desktop_settings"],
conflicts=["updater"],
stack_size=4 * 1024,
stack_size=2 * 1024,
order=60,
)

View File

@@ -13,8 +13,6 @@
#define TAG "DesktopSrv"
#define CLOCK_APP EXT_PATH("/apps/Main/Clock.fap")
static void desktop_scene_main_new_idle_animation_callback(void* context) {
furi_assert(context);
Desktop* desktop = context;
@@ -221,6 +219,10 @@ bool desktop_scene_main_on_event(void* context, SceneManagerEvent event) {
desktop_scene_main_open_app_or_profile(desktop, EXT_PATH("/apps/Games/Zombiez.fap"));
break;
}
case DesktopMainEventOpenClock: {
desktop_scene_main_open_app_or_profile(desktop, EXT_PATH("/apps/Main/Clock.fap"));
break;
}
case DesktopMainEventOpenTetris: {
desktop_scene_main_open_app_or_profile(desktop, EXT_PATH("/apps/Games/Tetris.fap"));
break;
@@ -247,10 +249,6 @@ bool desktop_scene_main_on_event(void* context, SceneManagerEvent event) {
desktop, EXT_PATH("/apps/Main/SubGHz_Remote.fap"));
break;
}
case DesktopMainEventOpenClock: {
desktop_scene_main_open_app_or_profile(desktop, CLOCK_APP);
break;
}
case DesktopLockedEventUpdate:
desktop_view_locked_update(desktop->locked_view);
consumed = true;

View File

@@ -125,7 +125,7 @@ static void desktop_view_locked_draw(Canvas* canvas, void* model) {
} else if(view_state == DesktopViewLockedStateLockedHintShown) {
canvas_set_font(canvas, FontSecondary);
elements_bold_rounded_frame(canvas, 14, 2 + STATUS_BAR_Y_SHIFT, 99, 48);
elements_multiline_text(canvas, 65, 20 + STATUS_BAR_Y_SHIFT, "To Unlock\nPress:");
elements_multiline_text(canvas, 65, 20 + STATUS_BAR_Y_SHIFT, "To unlock\npress:");
canvas_draw_icon(canvas, 65, 36 + STATUS_BAR_Y_SHIFT, &I_Pin_back_arrow_10x8);
canvas_draw_icon(canvas, 80, 36 + STATUS_BAR_Y_SHIFT, &I_Pin_back_arrow_10x8);
canvas_draw_icon(canvas, 95, 36 + STATUS_BAR_Y_SHIFT, &I_Pin_back_arrow_10x8);