mirror of
https://github.com/telegramdesktop/tdesktop
synced 2025-08-30 22:16:14 +00:00
Replaced observable in Window::Notifications::System with rpl.
This commit is contained in:
@@ -73,9 +73,10 @@ std::unique_ptr<Manager> Create(System *system) {
|
||||
Manager::Manager(System *system)
|
||||
: Notifications::Manager(system)
|
||||
, _inputCheckTimer([=] { checkLastInput(); }) {
|
||||
subscribe(system->settingsChanged(), [this](ChangeType change) {
|
||||
system->settingsChanged(
|
||||
) | rpl::start_with_next([=](ChangeType change) {
|
||||
settingsChanged(change);
|
||||
});
|
||||
}, system->lifetime());
|
||||
}
|
||||
|
||||
Manager::QueuedNotification::QueuedNotification(
|
||||
|
Reference in New Issue
Block a user