mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-12-24 07:05:35 +00:00
Story API update
This commit is contained in:
@@ -137,7 +137,7 @@ public final class ChatListHeaderComponent: Component {
|
||||
public let storiesIncludeHidden: Bool
|
||||
public let storiesFraction: CGFloat
|
||||
public let storiesUnlocked: Bool
|
||||
public let uploadProgress: Float?
|
||||
public let uploadProgress: [EnginePeer.Id: Float]
|
||||
public let context: AccountContext
|
||||
public let theme: PresentationTheme
|
||||
public let strings: PresentationStrings
|
||||
@@ -155,7 +155,7 @@ public final class ChatListHeaderComponent: Component {
|
||||
storiesIncludeHidden: Bool,
|
||||
storiesFraction: CGFloat,
|
||||
storiesUnlocked: Bool,
|
||||
uploadProgress: Float?,
|
||||
uploadProgress: [EnginePeer.Id: Float],
|
||||
context: AccountContext,
|
||||
theme: PresentationTheme,
|
||||
strings: PresentationStrings,
|
||||
|
||||
@@ -32,7 +32,7 @@ public final class ChatListNavigationBar: Component {
|
||||
public let secondaryTransition: CGFloat
|
||||
public let storySubscriptions: EngineStorySubscriptions?
|
||||
public let storiesIncludeHidden: Bool
|
||||
public let uploadProgress: Float?
|
||||
public let uploadProgress: [EnginePeer.Id: Float]
|
||||
public let tabsNode: ASDisplayNode?
|
||||
public let tabsNodeIsSearch: Bool
|
||||
public let accessoryPanelContainer: ASDisplayNode?
|
||||
@@ -53,7 +53,7 @@ public final class ChatListNavigationBar: Component {
|
||||
secondaryTransition: CGFloat,
|
||||
storySubscriptions: EngineStorySubscriptions?,
|
||||
storiesIncludeHidden: Bool,
|
||||
uploadProgress: Float?,
|
||||
uploadProgress: [EnginePeer.Id: Float],
|
||||
tabsNode: ASDisplayNode?,
|
||||
tabsNodeIsSearch: Bool,
|
||||
accessoryPanelContainer: ASDisplayNode?,
|
||||
@@ -508,7 +508,7 @@ public final class ChatListNavigationBar: Component {
|
||||
}
|
||||
}
|
||||
|
||||
public func updateStoryUploadProgress(storyUploadProgress: Float?) {
|
||||
public func updateStoryUploadProgress(storyUploadProgress: [EnginePeer.Id: Float]) {
|
||||
guard let component = self.component else {
|
||||
return
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user