mirror of
https://github.com/kotatogram/kotatogram-desktop
synced 2025-09-04 08:35:21 +00:00
Fix lock/unlock button visibility.
This commit is contained in:
@@ -1458,6 +1458,7 @@ void Widget::stopWidthAnimation() {
|
||||
}
|
||||
|
||||
void Widget::updateStoriesVisibility() {
|
||||
updateLockUnlockVisibility();
|
||||
if (!_stories) {
|
||||
return;
|
||||
}
|
||||
@@ -1487,7 +1488,6 @@ void Widget::updateStoriesVisibility() {
|
||||
if (_aboveScrollAdded > 0 && _updateScrollGeometryCached) {
|
||||
_updateScrollGeometryCached();
|
||||
}
|
||||
updateLockUnlockVisibility();
|
||||
updateLockUnlockPosition();
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user