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) <noreply@anthropic.com>
This commit is contained in:
2026-07-02 02:53:08 -05:00
parent d68bc27aac
commit bdccddfeee
2 changed files with 2 additions and 2 deletions

View File

@@ -2117,7 +2117,7 @@ void RenderSettingsPage(App* app) {
// -------------------- RPC (collapsible, like Tools & Actions) -------------------- // -------------------- RPC (collapsible, like Tools & Actions) --------------------
ImGui::Dummy(ImVec2(0, Layout::spacingSm())); 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; const char* rpcArrow = s_settingsState.rpc_expanded ? ICON_MD_EXPAND_LESS : ICON_MD_EXPAND_MORE;
ImGui::PushFont(body2); ImGui::PushFont(body2);
ImGui::PushStyleColor(ImGuiCol_Button, ImVec4(0,0,0,0)); ImGui::PushStyleColor(ImGuiCol_Button, ImVec4(0,0,0,0));

View File

@@ -257,7 +257,7 @@ void I18n::loadBuiltinEnglish()
strings_["setup_wizard"] = "Run Setup Wizard..."; strings_["setup_wizard"] = "Run Setup Wizard...";
// RPC / Explorer settings // RPC / Explorer settings
strings_["rpc_connection"] = "RPC CONNECTION"; strings_["rpc_connection"] = "RPC Connection...";
strings_["rpc_host"] = "Host"; strings_["rpc_host"] = "Host";
strings_["rpc_port"] = "Port"; strings_["rpc_port"] = "Port";
strings_["rpc_user"] = "Username"; strings_["rpc_user"] = "Username";