Fix clearing notifications from Action Center.

Regression was introduced in 997913be25.
This commit is contained in:
John Preston 2021-10-05 16:53:36 +04:00
parent 8c71d03959
commit 86e07518ad

View file

@ -437,7 +437,6 @@ void Manager::Private::clearAll() {
return;
}
auto temp = base::take(_notifications);
for (const auto &[key, notifications] : base::take(_notifications)) {
for (const auto &[msgId, notification] : notifications) {
_notifier.Hide(notification);