mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-08-30 09:21:28 +00:00
Only display footer in All Views
This commit is contained in:
parent
3e2896eb1b
commit
d63fc6cbce
@ -756,7 +756,7 @@ final class StoryItemSetViewListComponent: Component {
|
||||
}
|
||||
|
||||
var premiumFooterSize: CGSize?
|
||||
if let viewListState = self.viewListState, viewListState.loadMoreToken == nil, !viewListState.items.isEmpty, let views = component.storyItem.views, views.seenCount > viewListState.totalCount, component.storyItem.expirationTimestamp <= Int32(Date().timeIntervalSince1970) {
|
||||
if self.configuration.listMode == .everyone, let viewListState = self.viewListState, viewListState.loadMoreToken == nil, !viewListState.items.isEmpty, let views = component.storyItem.views, views.seenCount > viewListState.totalCount, component.storyItem.expirationTimestamp <= Int32(Date().timeIntervalSince1970) {
|
||||
let premiumFooterText: ComponentView<Empty>
|
||||
if let current = self.premiumFooterText {
|
||||
premiumFooterText = current
|
||||
|
Loading…
x
Reference in New Issue
Block a user