mirror of
https://github.com/eried/portapack-mayhem.git
synced 2025-08-18 19:28:02 -04:00
Centralize handling of modal error display.
This commit is contained in:
parent
682a1706a3
commit
6a3cd4c144
4 changed files with 16 additions and 2 deletions
|
@ -140,7 +140,7 @@ AnalogAudioView::AnalogAudioView(
|
|||
};
|
||||
|
||||
record_view.on_error = [&nav](std::string message) {
|
||||
nav.push<ModalMessageView>(message);
|
||||
nav.display_error(message);
|
||||
};
|
||||
|
||||
audio::output::start();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue