mirror of
https://github.com/eried/portapack-mayhem.git
synced 2025-06-22 13:54:22 -04:00
refactoring
This commit is contained in:
parent
165efd7355
commit
4a8458d812
1 changed files with 1 additions and 2 deletions
|
@ -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();
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue