mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-12-22 22:25:57 +00:00
Refactor PasswordSetupUI, PassportUI, GalleryUI and related modules
This commit is contained in:
@@ -0,0 +1,17 @@
|
||||
import Foundation
|
||||
|
||||
public final class GalleryControllerPresentationState {
|
||||
public let footerContentNode: GalleryFooterContentNode?
|
||||
|
||||
public init() {
|
||||
self.footerContentNode = nil
|
||||
}
|
||||
|
||||
public init(footerContentNode: GalleryFooterContentNode?) {
|
||||
self.footerContentNode = footerContentNode
|
||||
}
|
||||
|
||||
public func withUpdatedFooterContentNode(_ footerContentNode: GalleryFooterContentNode?) -> GalleryControllerPresentationState {
|
||||
return GalleryControllerPresentationState(footerContentNode: footerContentNode)
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user