mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-06-05 06:33:57 +02:00
Fix lock/unlock button visibility.
This commit is contained in:
parent
642c5a37c5
commit
2d31704bde
1 changed files with 1 additions and 1 deletions
|
@ -1458,6 +1458,7 @@ void Widget::stopWidthAnimation() {
|
||||||
}
|
}
|
||||||
|
|
||||||
void Widget::updateStoriesVisibility() {
|
void Widget::updateStoriesVisibility() {
|
||||||
|
updateLockUnlockVisibility();
|
||||||
if (!_stories) {
|
if (!_stories) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
@ -1487,7 +1488,6 @@ void Widget::updateStoriesVisibility() {
|
||||||
if (_aboveScrollAdded > 0 && _updateScrollGeometryCached) {
|
if (_aboveScrollAdded > 0 && _updateScrollGeometryCached) {
|
||||||
_updateScrollGeometryCached();
|
_updateScrollGeometryCached();
|
||||||
}
|
}
|
||||||
updateLockUnlockVisibility();
|
|
||||||
updateLockUnlockPosition();
|
updateLockUnlockPosition();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue