mirror of
https://github.com/eried/portapack-mayhem.git
synced 2025-05-13 12:12:16 -04:00
Rename display_error() -> display_modal(), add title argument.
This commit is contained in:
parent
6a3cd4c144
commit
ac49726707
4 changed files with 23 additions and 7 deletions
|
@ -71,7 +71,7 @@ CaptureAppView::CaptureAppView(NavigationView& nav) {
|
|||
|
||||
record_view.set_sampling_rate(sampling_rate / 8);
|
||||
record_view.on_error = [&nav](std::string message) {
|
||||
nav.display_error(message);
|
||||
nav.display_modal("Error", message);
|
||||
};
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue