mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-04-14 13:17:08 +02:00
Fix animating list->chat transition in single column.
This commit is contained in:
parent
fc2f41096f
commit
f8caa02f10
1 changed files with 3 additions and 1 deletions
|
@ -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());
|
||||
|
|
Loading…
Add table
Reference in a new issue