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

View file

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