mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-04-16 14:17:12 +02:00
Fix crash on topic creation.
This commit is contained in:
parent
a088791752
commit
b772697c59
1 changed files with 1 additions and 1 deletions
|
@ -1455,7 +1455,7 @@ void RepliesWidget::refreshUnreadCountBadge(std::optional<int> count) {
|
|||
}
|
||||
|
||||
void RepliesWidget::updatePinnedViewer() {
|
||||
if (_scroll->isHidden() || !_topic) {
|
||||
if (_scroll->isHidden() || !_topic || !_pinnedTracker) {
|
||||
return;
|
||||
}
|
||||
const auto visibleBottom = _scroll->scrollTop() + _scroll->height();
|
||||
|
|
Loading…
Add table
Reference in a new issue