mirror of
https://github.com/telegramdesktop/tdesktop
synced 2025-08-31 06:26:18 +00:00
Make notification manager creation async
This commit is contained in:
@@ -43,6 +43,10 @@ public:
|
||||
Manager(System *system);
|
||||
~Manager();
|
||||
|
||||
[[nodiscard]] ManagerType type() const override {
|
||||
return ManagerType::Default;
|
||||
}
|
||||
|
||||
template <typename Method>
|
||||
void enumerateNotifications(Method method) {
|
||||
for (const auto ¬ification : _notifications) {
|
||||
|
Reference in New Issue
Block a user