mirror of
https://github.com/mudita/MuditaOS.git
synced 2026-04-21 07:28:21 -04:00
[EGD-7773] Popups stack poc
Stack plus minimum tests added Updated to master Removed useless or adressed TODOS Constants name applied Renamed searchModel to searchRequestModel Review applied We should remove legacy window names Bell names fixes
This commit is contained in:
committed by
Adam Dobrowolski
parent
df7d19658c
commit
0ec9428917
@@ -47,12 +47,10 @@ namespace app
|
||||
|
||||
if (msgl->messageType == MessageType::DBServiceNotification) {
|
||||
if (auto msg = dynamic_cast<db::NotificationMessage *>(msgl); msg != nullptr) {
|
||||
// window-specific actions
|
||||
if (msg->interface == db::Interface::Name::Notes) {
|
||||
for (auto &[name, window] : windowsStack) {
|
||||
window->onDatabaseMessage(msg);
|
||||
}
|
||||
}
|
||||
userInterfaceDBNotification(msgl,
|
||||
[&]([[maybe_unused]] sys::Message *, [[maybe_unused]] const std::string &) {
|
||||
return msg->interface == db::Interface::Name::Notes;
|
||||
});
|
||||
return std::make_shared<sys::ResponseMessage>();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user