diff --git a/Telegram/SourceFiles/info/profile/info_profile_actions.cpp b/Telegram/SourceFiles/info/profile/info_profile_actions.cpp index 74319ffbb8..d4990210da 100644 --- a/Telegram/SourceFiles/info/profile/info_profile_actions.cpp +++ b/Telegram/SourceFiles/info/profile/info_profile_actions.cpp @@ -1359,6 +1359,8 @@ object_ptr DetailsFiller::setupInfo() { _mainTracker.track(wrap.data()); const auto result = wrap->entity(); auto tracker = Ui::MultiSlideTracker(); + add(CreateSlideSkipWidget(wrap))->toggleOn( + tracker.atLeastOneShownValueLater()); // Fill context for a mention / hashtag / bot command link. const auto infoClickFilter = [=, @@ -2206,8 +2208,8 @@ object_ptr DetailsFiller::fill() { if (const auto user = _sublist ? nullptr : _peer->asUser()) { add(setupPersonalChannel(user)); } - add(CreateSlideSkipWidget(_wrap))->toggleOn( - _mainTracker.atLeastOneShownValue()); + // add(CreateSlideSkipWidget(_wrap))->toggleOn( + // _mainTracker.atLeastOneShownValueLater()); add(setupInfo()); auto lastButtonTracker = Ui::MultiSlideTracker(); if (const auto user = _peer->asUser()) { @@ -2249,7 +2251,7 @@ object_ptr DetailsFiller::fill() { } } add(CreateSlideSkipWidget(_wrap))->toggleOn( - lastButtonTracker.atLeastOneShownValue()); + lastButtonTracker.atLeastOneShownValueLater()); return std::move(_wrap); } diff --git a/Telegram/lib_ui b/Telegram/lib_ui index d14158739b..6c26295230 160000 --- a/Telegram/lib_ui +++ b/Telegram/lib_ui @@ -1 +1 @@ -Subproject commit d14158739b3496b8fd0ea8e642b060842866ae00 +Subproject commit 6c262952308908151e7cc9c40f65997f6b2ff65e