2
0
mirror of https://github.com/telegramdesktop/tdesktop synced 2025-08-31 06:26:18 +00:00

Fix animating list->chat transition in single column.

This commit is contained in:
John Preston
2024-01-12 13:58:12 +04:00
parent fc2f41096f
commit f8caa02f10

View File

@@ -1524,7 +1524,9 @@ bool MainWidget::saveSectionInStack(
_history->msgId(),
_history->replyReturns()));
} else {
return false;
// We pretend that we "saved" the chats list state in stack,
// so that we do animate a transition from chats list to a section.
return true;
}
const auto raw = _stack.back().get();
raw->setThirdSectionWeak(_thirdSection.data());