From 4ec2d64cb771475f300635ba4bc18efb438ca410 Mon Sep 17 00:00:00 2001 From: Eisenberger Tamas Date: Sat, 10 Jun 2023 00:34:27 +0200 Subject: [PATCH] improve P.Memory naming consistency I swear I wont touch these strings again :D --- firmware/application/apps/ui_debug.cpp | 2 +- firmware/application/apps/ui_debug.hpp | 2 +- firmware/application/apps/ui_settings.hpp | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/firmware/application/apps/ui_debug.cpp b/firmware/application/apps/ui_debug.cpp index fdc5f6ca..997f4f82 100644 --- a/firmware/application/apps/ui_debug.cpp +++ b/firmware/application/apps/ui_debug.cpp @@ -382,7 +382,7 @@ DebugMenuView::DebugMenuView(NavigationView& nav) { {"Peripherals", ui::Color::dark_cyan(), &bitmap_icon_peripherals, [&nav]() { nav.push(); }}, {"Temperature", ui::Color::dark_cyan(), &bitmap_icon_temperature, [&nav]() { nav.push(); }}, {"Buttons Test", ui::Color::dark_cyan(), &bitmap_icon_controls, [&nav]() { nav.push(); }}, - {"p.mem", ui::Color::dark_cyan(), &bitmap_icon_memory, [&nav]() { nav.push(); }}, + {"P.Memory", ui::Color::dark_cyan(), &bitmap_icon_memory, [&nav]() { nav.push(); }}, }); set_max_rows(2); // allow wider buttons } diff --git a/firmware/application/apps/ui_debug.hpp b/firmware/application/apps/ui_debug.hpp index b24a9625..3fc0c2ff 100644 --- a/firmware/application/apps/ui_debug.hpp +++ b/firmware/application/apps/ui_debug.hpp @@ -269,7 +269,7 @@ class DebugPmemView : public View { DebugPmemView(NavigationView& nav); void focus() override; bool on_encoder(const EncoderEvent delta) override; - std::string title() const override { return "p.mem"; } + std::string title() const override { return "P.Mem Debug"; } private: struct pmem_data { diff --git a/firmware/application/apps/ui_settings.hpp b/firmware/application/apps/ui_settings.hpp index 7e897fb6..1611f399 100644 --- a/firmware/application/apps/ui_settings.hpp +++ b/firmware/application/apps/ui_settings.hpp @@ -470,7 +470,7 @@ class SetPersistentMemoryView : public View { private: Text text_pmem_about{ {0, 1 * 16, 240, 16}, - "PersistentMemory from/to SD"}; + "Persistent Memory from/to SD"}; Text text_pmem_informations{ {0, 2 * 16, 240, 16},