mirror of
https://github.com/portapack-mayhem/mayhem-firmware.git
synced 2025-12-13 11:42:13 +00:00
Support save prompt on back arrow (#1270)
* Support save prompt on back arrow * Add lifetime warning comment
This commit is contained in:
@@ -229,10 +229,7 @@ class TextEditorView : public View {
|
||||
void show_save_prompt(std::function<void()> continuation);
|
||||
|
||||
void prepare_for_write();
|
||||
void create_temp_file() const;
|
||||
void delete_temp_file() const;
|
||||
void save_temp_file();
|
||||
std::filesystem::path get_temp_path() const;
|
||||
|
||||
NavigationView& nav_;
|
||||
std::unique_ptr<FileWrapper> file_{};
|
||||
|
||||
Reference in New Issue
Block a user