2
0
mirror of https://github.com/telegramdesktop/tdesktop synced 2025-08-31 22:46:10 +00:00

Show tdesktop cloud themes in a box.

This commit is contained in:
John Preston
2019-09-03 18:24:51 +03:00
parent 95afcbb485
commit ac8f924909
28 changed files with 684 additions and 192 deletions

View File

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