Fixed top bar buttons appearing without animation on select messages.

This commit is contained in:
23rd
2026-04-06 08:37:49 +03:00
committed by John Preston
parent a7745a2086
commit 3884348e07
@@ -1413,7 +1413,8 @@ void TopBarWidget::showSelected(SelectedState state) {
_delete->finishNumbersAnimation();
}
}
if (visibilityChanged) {
if (visibilityChanged
|| (!wasSelectedState && nowSelectedState)) {
updateControlsVisibility();
}
if (wasSelectedState != nowSelectedState && !_chooseForReportReason) {