mirror of
https://github.com/eried/portapack-mayhem.git
synced 2025-02-25 17:11:13 -05:00
refactoring
This commit is contained in:
parent
d1d1198b1b
commit
165efd7355
@ -169,15 +169,9 @@ 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;
|
||||||
// remove_child(&recent_entries_view_psi);
|
|
||||||
// add_child(&recent_entries_view_kpa);
|
|
||||||
// recent_entries_view_kpa.set_parent_rect(view_normal_rect);
|
|
||||||
}
|
}
|
||||||
if(i == 1){
|
if(i == 1){
|
||||||
tpms::format::use_kpa = false;
|
tpms::format::use_kpa = false;
|
||||||
// remove_child(&recent_entries_view_kpa);
|
|
||||||
// add_child(&recent_entries_view_psi);
|
|
||||||
// recent_entries_view_psi.set_parent_rect(view_normal_rect);
|
|
||||||
}
|
}
|
||||||
update_type();
|
update_type();
|
||||||
};
|
};
|
||||||
|
Loading…
x
Reference in New Issue
Block a user