2
0
mirror of https://github.com/telegramdesktop/tdesktop synced 2025-08-31 06:26:18 +00:00

Fix lock/unlock toggle without stories.

This commit is contained in:
John Preston
2023-07-17 11:41:12 +04:00
parent 3851fa27d9
commit 6b4ccd2995
2 changed files with 19 additions and 9 deletions

View File

@@ -179,7 +179,8 @@ private:
void clearSearchCache();
void setSearchQuery(const QString &query);
void updateControlsVisibility(bool fast = false);
void updateLockUnlockVisibility();
void updateLockUnlockVisibility(
anim::type animated = anim::type::instant);
void updateLoadMoreChatsVisibility();
void updateStoriesVisibility();
void updateJumpToDateVisibility(bool fast = false);
@@ -245,7 +246,7 @@ private:
object_ptr<Ui::FadeWrapScaled<Ui::IconButton>> _chooseFromUser;
object_ptr<Ui::FadeWrapScaled<Ui::IconButton>> _jumpToDate;
object_ptr<Ui::CrossButton> _cancelSearch;
object_ptr<Ui::IconButton> _lockUnlock;
object_ptr< Ui::FadeWrapScaled<Ui::IconButton>> _lockUnlock;
std::unique_ptr<Ui::MoreChatsBar> _moreChatsBar;