mirror of
https://github.com/eried/portapack-mayhem.git
synced 2025-05-15 05:02:13 -04:00
Make NavigationView an implicit first argument to any instance pushed onto nav stack.
This commit is contained in:
parent
0828c66b8a
commit
a340cbb74b
5 changed files with 20 additions and 20 deletions
|
@ -423,7 +423,7 @@ ReceiverView::ReceiverView(
|
|||
};
|
||||
field_frequency.on_edit = [this, &nav]() {
|
||||
// TODO: Provide separate modal method/scheme?
|
||||
auto new_view = nav.push<FrequencyKeypadView>(nav, this->receiver_model.tuning_frequency());
|
||||
auto new_view = nav.push<FrequencyKeypadView>(this->receiver_model.tuning_frequency());
|
||||
new_view->on_changed = [this](rf::Frequency f) {
|
||||
this->on_tuning_frequency_changed(f);
|
||||
this->field_frequency.set_value(f);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue