add Flipper Zero patch

This commit is contained in:
Alexander Popov 2023-04-27 22:59:24 +03:00
parent e4db908a63
commit cf414a2b28
Signed by: iiiypuk
GPG Key ID: E47FE0AB36CD5ED6
2 changed files with 33 additions and 0 deletions

View File

@ -0,0 +1,19 @@
diff --git a/applications/settings/notification_settings/notification_settings_app.c b/applications/settings/notification_settings/notification_settings_app.c
index 8efbc5e0..92726655 100644
--- a/applications/settings/notification_settings/notification_settings_app.c
+++ b/applications/settings/notification_settings/notification_settings_app.c
@@ -50,12 +50,12 @@ const float volume_value[VOLUME_COUNT] = {0.0f, 0.25f, 0.5f, 0.75f, 1.0f};
const char* const delay_text[DELAY_COUNT] = {
"1s",
"5s",
- "15s",
+ "10s",
"30s",
"60s",
"120s",
};
-const uint32_t delay_value[DELAY_COUNT] = {1000, 5000, 15000, 30000, 60000, 120000};
+const uint32_t delay_value[DELAY_COUNT] = {1000, 5000, 10000, 30000, 60000, 120000};
#define VIBRO_COUNT 2
const char* const vibro_text[VIBRO_COUNT] = {

View File

@ -0,0 +1,14 @@
diff --git a/applications/settings/dolphin_passport/passport.c b/applications/settings/dolphin_passport/passport.c
index d43f150c..7fc14b6b 100644
--- a/applications/settings/dolphin_passport/passport.c
+++ b/applications/settings/dolphin_passport/passport.c
@@ -76,7 +76,8 @@ static void render_callback(Canvas* canvas, void* ctx) {
canvas_draw_line(canvas, 58, 30, 123, 30);
canvas_draw_line(canvas, 58, 44, 123, 44);
- const char* my_name = furi_hal_version_get_name_ptr();
+ // const char* my_name = furi_hal_version_get_name_ptr();
+ const char* my_name = "AlexanderPopov";
snprintf(level_str, 20, "Level: %hu", stats->level);
canvas_draw_str(canvas, 58, 12, my_name ? my_name : "Unknown");
canvas_draw_str(canvas, 58, 26, mood_str);