Skip to content

Commit

Permalink
Fix lock/unlock button visibility.
Browse files Browse the repository at this point in the history
  • Loading branch information
john-preston committed Jul 26, 2023
1 parent 642c5a3 commit 2d31704
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Telegram/SourceFiles/dialogs/dialogs_widget.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1458,6 +1458,7 @@ void Widget::stopWidthAnimation() {
}

void Widget::updateStoriesVisibility() {
updateLockUnlockVisibility();
if (!_stories) {
return;
}
Expand Down Expand Up @@ -1487,7 +1488,6 @@ void Widget::updateStoriesVisibility() {
if (_aboveScrollAdded > 0 && _updateScrollGeometryCached) {
_updateScrollGeometryCached();
}
updateLockUnlockVisibility();
updateLockUnlockPosition();
}
}
Expand Down

0 comments on commit 2d31704

Please sign in to comment.