Various fixes

This commit is contained in:
Ilya Laktyushin
2023-10-30 16:22:12 +04:00
parent c06e869cd1
commit 6fe8e5e447
8 changed files with 196 additions and 164 deletions

View File

@@ -1077,7 +1077,7 @@ public func channelStatsController(context: AccountContext, updatedPresentationD
}
controller.visibleBottomContentOffsetChanged = { offset in
let state = stateValue.with { $0 }
if case let .known(value) = offset, value < 100.0, case .boosts = state.section, state.boostersExpanded {
if case let .known(value) = offset, value < 510.0, case .boosts = state.section, state.boostersExpanded {
boostsContext.loadMore()
}
}