From 290bf543a163c27400d5072a5fb1f3612febf784 Mon Sep 17 00:00:00 2001 From: gullradriel <3157857+gullradriel@users.noreply.github.com> Date: Mon, 16 Feb 2026 17:06:57 +0100 Subject: [PATCH] fix restore settings (#2995) --- firmware/application/external/tpmsrx/tpms_app.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/firmware/application/external/tpmsrx/tpms_app.cpp b/firmware/application/external/tpmsrx/tpms_app.cpp index 52fee2f22..ebf0f537a 100644 --- a/firmware/application/external/tpmsrx/tpms_app.cpp +++ b/firmware/application/external/tpmsrx/tpms_app.cpp @@ -127,13 +127,13 @@ TPMSAppView::TPMSAppView(NavigationView&) { format::pressure_unit = (uint8_t)i; update_view(); }; - options_pressure.set_selected_index(format::pressure_unit, true); + options_pressure.set_by_value(format::pressure_unit); options_temperature.on_change = [this](size_t, int32_t i) { format::temp_unit = (uint8_t)i; update_view(); }; - options_temperature.set_selected_index(format::temp_unit, true); + options_temperature.set_by_value(format::temp_unit); logger = std::make_unique(); if (logger) {