From bdccddfeee7855c957d9e470c95311673bb992c0 Mon Sep 17 00:00:00 2001 From: DanS Date: Thu, 2 Jul 2026 02:53:08 -0500 Subject: [PATCH] feat(settings): rename RPC toggle to "RPC Connection..." (Tools & Actions style) Rename the RPC collapsible header from "RPC CONNECTION" to "RPC Connection..." and render it in the body2 font so it matches the "Tools & Actions..." toggle exactly. Full-node build clean; hygiene clean. Co-Authored-By: Claude Opus 4.8 (1M context) --- src/ui/pages/settings_page.cpp | 2 +- src/util/i18n.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/ui/pages/settings_page.cpp b/src/ui/pages/settings_page.cpp index db38289..cbbe5e2 100644 --- a/src/ui/pages/settings_page.cpp +++ b/src/ui/pages/settings_page.cpp @@ -2117,7 +2117,7 @@ void RenderSettingsPage(App* app) { // -------------------- RPC (collapsible, like Tools & Actions) -------------------- ImGui::Dummy(ImVec2(0, Layout::spacingSm())); { - ImFont* rpcHdrFont = Type().overline(); + ImFont* rpcHdrFont = body2; // match the "Tools & Actions..." toggle style const char* rpcArrow = s_settingsState.rpc_expanded ? ICON_MD_EXPAND_LESS : ICON_MD_EXPAND_MORE; ImGui::PushFont(body2); ImGui::PushStyleColor(ImGuiCol_Button, ImVec4(0,0,0,0)); diff --git a/src/util/i18n.cpp b/src/util/i18n.cpp index 87cb7fe..44bf405 100644 --- a/src/util/i18n.cpp +++ b/src/util/i18n.cpp @@ -257,7 +257,7 @@ void I18n::loadBuiltinEnglish() strings_["setup_wizard"] = "Run Setup Wizard..."; // RPC / Explorer settings - strings_["rpc_connection"] = "RPC CONNECTION"; + strings_["rpc_connection"] = "RPC Connection..."; strings_["rpc_host"] = "Host"; strings_["rpc_port"] = "Port"; strings_["rpc_user"] = "Username";