mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-06-05 22:54:01 +02:00
Fix custom chat themes in scheduled messages.
This commit is contained in:
parent
dee8b1fe6f
commit
b47e29b182
2 changed files with 1 additions and 2 deletions
|
@ -2203,8 +2203,6 @@ void HistoryWidget::showHistory(
|
||||||
refreshTopBarActiveChat();
|
refreshTopBarActiveChat();
|
||||||
updateTopBarSelection();
|
updateTopBarSelection();
|
||||||
checkMessagesTTL();
|
checkMessagesTTL();
|
||||||
// Restore default theme.
|
|
||||||
controller()->setChatStyleTheme(controller()->defaultChatTheme());
|
|
||||||
clearFieldText();
|
clearFieldText();
|
||||||
doneShow();
|
doneShow();
|
||||||
}
|
}
|
||||||
|
|
|
@ -1391,6 +1391,7 @@ void MainWidget::ui_showPeerHistory(
|
||||||
|
|
||||||
if (noPeer) {
|
if (noPeer) {
|
||||||
_controller->setActiveChatEntry(Dialogs::Key());
|
_controller->setActiveChatEntry(Dialogs::Key());
|
||||||
|
_controller->setChatStyleTheme(controller()->defaultChatTheme());
|
||||||
}
|
}
|
||||||
|
|
||||||
if (onlyDialogs) {
|
if (onlyDialogs) {
|
||||||
|
|
Loading…
Add table
Reference in a new issue