mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-06-15 21:45:19 +00:00
Merge branch 'master' of gitlab.com:peter-iakovlev/telegram-ios
This commit is contained in:
commit
f8c872db55
@ -466,7 +466,7 @@ final class StoryItemContentComponent: Component {
|
||||
return
|
||||
}
|
||||
|
||||
var useLegacyImplementation = false
|
||||
var useLegacyImplementation = true
|
||||
if let data = component.context.currentAppConfiguration.with({ $0 }).data, let value = data["ios_video_legacystoryplayer"] as? Double {
|
||||
useLegacyImplementation = value != 0.0
|
||||
}
|
||||
|
@ -1875,7 +1875,7 @@ public final class StoryItemSetContainerComponent: Component {
|
||||
continue
|
||||
}
|
||||
var nextVisibleItem: VisibleItem?
|
||||
if i != component.slice.allItems.count {
|
||||
if i != component.slice.allItems.count - 1 {
|
||||
nextVisibleItem = self.visibleItems[component.slice.allItems[i + 1].id]
|
||||
}
|
||||
if let itemView = visibleItem.view.view as? StoryItemContentComponent.View {
|
||||
|
Loading…
x
Reference in New Issue
Block a user