Fix first main window appearance.

This commit is contained in:
John Preston
2020-06-16 10:48:21 +04:00
parent ab5796c117
commit 5e045ec02c
3 changed files with 4 additions and 4 deletions
@@ -39,6 +39,8 @@ Controller::~Controller() {
}
void Controller::showAccount(not_null<Main::Account*> account) {
Window::Theme::Background()->start();
_accountLifetime.destroy();
_account = account;