mirror of
https://github.com/portapack-mayhem/mayhem-firmware.git
synced 2025-10-21 03:21:53 +00:00
Centralize handling of modal error display.
This commit is contained in:
@@ -102,10 +102,13 @@ public:
|
||||
|
||||
void pop();
|
||||
|
||||
void display_error(const std::string& message);
|
||||
|
||||
void focus() override;
|
||||
|
||||
private:
|
||||
std::vector<std::unique_ptr<View>> view_stack;
|
||||
Widget* modal_view { nullptr };
|
||||
|
||||
Widget* view() const;
|
||||
|
||||
|
Reference in New Issue
Block a user