Fix empty chat history after custom themed chat.

This commit is contained in:
John Preston 2021-10-14 18:20:22 +04:00
parent 2e1981c5a6
commit 2163957299
1 changed files with 2 additions and 1 deletions

View File

@ -2204,7 +2204,8 @@ void HistoryWidget::showHistory(
refreshTopBarActiveChat();
updateTopBarSelection();
checkMessagesTTL();
// Restore default theme.
controller()->setChatStyleTheme(controller()->defaultChatTheme());
clearFieldText();
doneShow();
}