mirror of
https://github.com/portapack-mayhem/mayhem-firmware.git
synced 2026-08-21 15:09:03 +00:00
Centralize handling of modal error display.
This commit is contained in:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user