mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-06-16 05:55:20 +00:00
Revert "Fix typo and crash"
This reverts commit e060b91947a0b3bbb6109bccfd87f202503ceb6f.
This commit is contained in:
parent
c37c825333
commit
17df575f54
@ -466,7 +466,7 @@ final class StoryItemContentComponent: Component {
|
||||
return
|
||||
}
|
||||
|
||||
var useLegacyImplementation = true
|
||||
var useLegacyImplementation = false
|
||||
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 - 1 {
|
||||
if i != component.slice.allItems.count {
|
||||
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