2
0
mirror of https://github.com/kotatogram/kotatogram-desktop synced 2025-09-05 09:05:14 +00:00

Removed NotificationsDemoIsShown global variable from facades.

This commit is contained in:
23rd
2021-05-26 01:22:55 +03:00
parent 54dd63d61a
commit d2c8780c0f
6 changed files with 12 additions and 13 deletions

View File

@@ -356,7 +356,6 @@ void NotificationsCount::setOverCorner(ScreenCorner corner) {
} else {
_isOverCorner = true;
setCursor(style::cur_pointer);
Global::SetNotificationsDemoIsShown(true);
Core::App().notifications().notifySettingsChanged(
ChangeType::DemoIsShown);
}
@@ -392,9 +391,8 @@ void NotificationsCount::clearOverCorner() {
if (_isOverCorner) {
_isOverCorner = false;
setCursor(style::cur_default);
Global::SetNotificationsDemoIsShown(false);
Core::App().notifications().notifySettingsChanged(
ChangeType::DemoIsShown);
ChangeType::DemoIsHidden);
for_const (const auto &samples, _cornerSamples) {
for_const (const auto widget, samples) {