mirror of
https://github.com/kotatogram/kotatogram-desktop
synced 2025-09-01 07:05:13 +00:00
Fix custom chat themes in scheduled messages.
This commit is contained in:
@@ -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) {
|
||||||
|
Reference in New Issue
Block a user