refactoring

This commit is contained in:
jLynx 2022-03-24 19:51:08 +13:00
parent 165efd7355
commit 4a8458d812

View File

@ -169,8 +169,7 @@ TPMSAppView::TPMSAppView(NavigationView&) {
options_type.on_change = [this](size_t, int32_t i) { options_type.on_change = [this](size_t, int32_t i) {
if (i == 0){ if (i == 0){
tpms::format::use_kpa = true; tpms::format::use_kpa = true;
} } else if (i == 1){
if(i == 1){
tpms::format::use_kpa = false; tpms::format::use_kpa = false;
} }
update_type(); update_type();