2
0
mirror of https://github.com/telegramdesktop/tdesktop synced 2025-09-01 06:55:58 +00:00

Enable / disable side bar based on filters.

This commit is contained in:
John Preston
2020-03-18 13:19:58 +04:00
parent 3c0ee9fa20
commit 4881981cf6
13 changed files with 41 additions and 32 deletions

View File

@@ -28,7 +28,7 @@ Controller::Controller(not_null<Main::Account*> account)
: _account(account)
, _widget(this) {
_account->sessionValue(
) | rpl::start_with_next([=](Main::Session *session) {
) | rpl::start_with_next([=](Main::Session *session) {
_sessionController = session
? std::make_unique<SessionController>(session, this)
: nullptr;