mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-12-22 14:20:20 +00:00
Animation and other improvements
This commit is contained in:
@@ -1,14 +1,14 @@
|
||||
import Foundation
|
||||
import UIKit
|
||||
|
||||
private final class DisplayLinkTarget: NSObject {
|
||||
public final class DisplayLinkTarget: NSObject {
|
||||
private let f: () -> Void
|
||||
|
||||
init(_ f: @escaping () -> Void) {
|
||||
public init(_ f: @escaping () -> Void) {
|
||||
self.f = f
|
||||
}
|
||||
|
||||
@objc func event() {
|
||||
@objc public func event() {
|
||||
self.f()
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user