mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-12-22 14:20:20 +00:00
Refactor PasswordSetupUI, PassportUI, GalleryUI and related modules
This commit is contained in:
17
submodules/PassportUI/Sources/SecureIdAuthContentNode.swift
Normal file
17
submodules/PassportUI/Sources/SecureIdAuthContentNode.swift
Normal file
@@ -0,0 +1,17 @@
|
||||
import Foundation
|
||||
import UIKit
|
||||
import AsyncDisplayKit
|
||||
import Display
|
||||
|
||||
struct SecureIdAuthContentLayout {
|
||||
let height: CGFloat
|
||||
let centerOffset: CGFloat
|
||||
}
|
||||
|
||||
protocol SecureIdAuthContentNode {
|
||||
func updateLayout(width: CGFloat, transition: ContainedViewLayoutTransition) -> SecureIdAuthContentLayout
|
||||
func willDisappear()
|
||||
func didAppear()
|
||||
func animateIn()
|
||||
func animateOut(completion: @escaping () -> Void)
|
||||
}
|
||||
Reference in New Issue
Block a user