From 3f0f90e0a376db8123a827a9c6f07134b59380c9 Mon Sep 17 00:00:00 2001 From: MX <10697207+xMasterX@users.noreply.github.com> Date: Thu, 12 Feb 2026 18:50:03 +0300 Subject: [PATCH] formatting, text fixes --- applications/services/bt/bt_service/bt_api.c | 2 +- applications/services/bt/bt_service/bt_api.h | 2 +- .../desktop/views/desktop_view_lock_menu.c | 19 ++++++++----------- .../scenes/power_settings_scene_power_off.c | 2 +- 4 files changed, 11 insertions(+), 14 deletions(-) diff --git a/applications/services/bt/bt_service/bt_api.c b/applications/services/bt/bt_service/bt_api.c index 8b42d7920..861569d71 100644 --- a/applications/services/bt/bt_service/bt_api.c +++ b/applications/services/bt/bt_service/bt_api.c @@ -1,4 +1,4 @@ -#include "bt_api.h" +#include "bt_api.h" FuriHalBleProfileBase* bt_profile_start( Bt* bt, diff --git a/applications/services/bt/bt_service/bt_api.h b/applications/services/bt/bt_service/bt_api.h index 5120ccc7f..24801d13b 100644 --- a/applications/services/bt/bt_service/bt_api.h +++ b/applications/services/bt/bt_service/bt_api.h @@ -2,4 +2,4 @@ #include "bt_i.h" #include -extern void bt_set_settings(Bt* bt, const BtSettings* settings); \ No newline at end of file +extern void bt_set_settings(Bt* bt, const BtSettings* settings); diff --git a/applications/services/desktop/views/desktop_view_lock_menu.c b/applications/services/desktop/views/desktop_view_lock_menu.c index 975db7749..995a47f95 100644 --- a/applications/services/desktop/views/desktop_view_lock_menu.c +++ b/applications/services/desktop/views/desktop_view_lock_menu.c @@ -42,10 +42,7 @@ void desktop_lock_menu_set_stealth_mode_state(DesktopLockMenuView* lock_menu, bo void desktop_lock_menu_set_bt_mode_state(DesktopLockMenuView* lock_menu, bool bt_mode) { with_view_model( - lock_menu->view, - DesktopLockMenuViewModel * model, - { model->bt_mode = bt_mode; }, - true); + lock_menu->view, DesktopLockMenuViewModel * model, { model->bt_mode = bt_mode; }, true); } void desktop_lock_menu_set_idx(DesktopLockMenuView* lock_menu, uint8_t idx) { @@ -68,9 +65,9 @@ void desktop_lock_menu_draw_callback(Canvas* canvas, void* model) { //if(i == DesktopLockMenuIndexLock) { if(i == DesktopLockMenuIndexBt) { if(m->bt_mode) { - str = "Bluetooth OFF"; + str = "Bluetooth Off"; } else { - str = "Bluetooth ON"; + str = "Bluetooth On"; } } else if(i == DesktopLockMenuIndexStealth) { if(m->stealth_mode) { @@ -144,11 +141,11 @@ bool desktop_lock_menu_input_callback(InputEvent* event, void* context) { if(event->type == InputTypeShort) { lock_menu->callback(DesktopLockMenuEventBt, lock_menu->context); } - // old use case - // } else if(idx == DesktopLockMenuIndexLock) { - // if(event->type == InputTypeShort) { - // lock_menu->callback(DesktopLockMenuEventLock, lock_menu->context); - // } + // old use case + // } else if(idx == DesktopLockMenuIndexLock) { + // if(event->type == InputTypeShort) { + // lock_menu->callback(DesktopLockMenuEventLock, lock_menu->context); + // } } else if(idx == DesktopLockMenuIndexStealth) { if((stealth_mode == false) && (event->type == InputTypeShort)) { lock_menu->callback(DesktopLockMenuEventStealthModeOn, lock_menu->context); diff --git a/applications/settings/power_settings_app/scenes/power_settings_scene_power_off.c b/applications/settings/power_settings_app/scenes/power_settings_scene_power_off.c index 073116ae5..b89c2d0b8 100644 --- a/applications/settings/power_settings_app/scenes/power_settings_scene_power_off.c +++ b/applications/settings/power_settings_app/scenes/power_settings_scene_power_off.c @@ -25,7 +25,7 @@ void power_settings_scene_power_off_on_enter(void* context) { if(!settings.happy_mode) { dialog_ex_set_text( dialog, " I will be\nwaiting for\n you here...", 78, 14, AlignLeft, AlignTop); - dialog_ex_set_icon(dialog, 14, 10, &I_dolph_cry_49x54); + dialog_ex_set_icon(dialog, 24, 10, &I_dolph_cry_49x54); } dialog_ex_set_left_button_text(dialog, "Settings"); dialog_ex_set_right_button_text(dialog, "Power Off");