mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-12-22 14:20:20 +00:00
[WIP]
This commit is contained in:
@@ -357,9 +357,9 @@ private final class ForumCreateTopicScreenComponent: CombinedComponent {
|
||||
case .create:
|
||||
self.title = ""
|
||||
self.fileId = 0
|
||||
case let .edit(topic):
|
||||
self.title = topic.info.title
|
||||
self.fileId = topic.info.icon ?? 0
|
||||
case let .edit(info):
|
||||
self.title = info.title
|
||||
self.fileId = info.icon ?? 0
|
||||
}
|
||||
|
||||
super.init()
|
||||
@@ -670,7 +670,7 @@ private final class ForumCreateTopicScreenComponent: CombinedComponent {
|
||||
public class ForumCreateTopicScreen: ViewControllerComponentContainer {
|
||||
public enum Mode: Equatable {
|
||||
case create
|
||||
case edit(topic: ForumChannelTopics.Item)
|
||||
case edit(topic: EngineMessageHistoryThread.Info)
|
||||
}
|
||||
|
||||
private var state: (String, Int64?) = ("", nil)
|
||||
|
||||
Reference in New Issue
Block a user