Fix visual glitch in filter change from archived chat.

This commit is contained in:
John Preston 2020-06-03 12:31:15 +04:00
parent d45e74619d
commit ef30c776bf

View file

@ -439,6 +439,10 @@ void Widget::updateControlsVisibility(bool fast) {
void Widget::changeOpenedFolder(Data::Folder *folder, anim::type animated) {
_a_show.stop();
if (isHidden()) {
animated = anim::type::instant;
}
if (animated == anim::type::normal) {
_showDirection = folder
? Window::SlideDirection::FromRight