Fixed edge skips in list of actions from info profile.
This commit is contained in:
@@ -1359,6 +1359,8 @@ object_ptr<Ui::RpWidget> 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<Ui::RpWidget> 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<Ui::RpWidget> DetailsFiller::fill() {
|
||||
}
|
||||
}
|
||||
add(CreateSlideSkipWidget(_wrap))->toggleOn(
|
||||
lastButtonTracker.atLeastOneShownValue());
|
||||
lastButtonTracker.atLeastOneShownValueLater());
|
||||
|
||||
return std::move(_wrap);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user