mirror of
https://github.com/kotatogram/kotatogram-desktop
synced 2025-09-04 00:25:17 +00:00
Fix crash in notifications clearing.
This commit is contained in:
@@ -192,7 +192,7 @@ void Manager::showNextFromQueue() {
|
||||
return;
|
||||
}
|
||||
int count = Core::App().settings().notificationsCount();
|
||||
for_const (auto ¬ification, _notifications) {
|
||||
for (const auto ¬ification : _notifications) {
|
||||
if (notification->isUnlinked()) continue;
|
||||
--count;
|
||||
}
|
||||
|
Reference in New Issue
Block a user