2
0
mirror of https://github.com/telegramdesktop/tdesktop synced 2025-08-31 22:46:10 +00:00

Improve premium sticker sync / preview.

This commit is contained in:
John Preston
2022-05-18 14:18:17 +04:00
parent 3b5ec78f4f
commit ca731968ca
26 changed files with 492 additions and 54 deletions

View File

@@ -1476,10 +1476,14 @@ void MainWidget::ui_showPeerHistory(
floatPlayerCheckVisibility();
}
PeerData *MainWidget::peer() {
PeerData *MainWidget::peer() const {
return _history->peer();
}
Ui::ChatTheme *MainWidget::customChatTheme() const {
return _history->customChatTheme();
}
void MainWidget::saveSectionInStack() {
if (_mainSection) {
if (auto memento = _mainSection->createMemento()) {