[MOS-1020] Fix for losing unsaved data

Fix for losing unsaved data when the user click the BACK button while
creating or editing note/contact.
This commit is contained in:
rrandomsky
2023-08-23 10:53:45 +02:00
committed by rrandomsky
parent e008509534
commit 5d4c178103
18 changed files with 178 additions and 48 deletions

View File

@@ -124,6 +124,10 @@ namespace app
windowsFactory.attach(window::name::option_window, [](ApplicationCommon *app, const std::string &name) {
return std::make_unique<gui::OptionWindow>(app, name);
});
windowsFactory.attach(gui::name::window::notes_dialog_yes_no,
[](ApplicationCommon *app, const std::string &name) {
return std::make_unique<gui::DialogYesNo>(app, name);
});
attachPopups({gui::popup::ID::Volume,
gui::popup::ID::Tethering,