Fix unread mentions / reactions button in topics.

This commit is contained in:
John Preston 2022-11-11 19:43:18 +04:00
parent 37308cde21
commit 996b6bf46a

View file

@ -1803,8 +1803,7 @@ std::optional<bool> RepliesWidget::cornerButtonsDownShown() {
}
bool RepliesWidget::cornerButtonsUnreadMayBeShown() {
return _inner->loadedAtBottomKnown()
&& !_composeControls->isLockPresent();
return _loaded && !_composeControls->isLockPresent();
}
bool RepliesWidget::cornerButtonsHas(CornerButtonType type) {