mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2026-01-03 03:40:33 +00:00
Fix action sheet items update
This commit is contained in:
@@ -15,11 +15,11 @@ public struct PixelDimensions: Equatable {
|
||||
#if os(iOS)
|
||||
|
||||
public extension PixelDimensions {
|
||||
public init(_ size: CGSize) {
|
||||
init(_ size: CGSize) {
|
||||
self.init(width: Int32(size.width), height: Int32(size.height))
|
||||
}
|
||||
|
||||
public var cgSize: CGSize {
|
||||
var cgSize: CGSize {
|
||||
return CGSize(width: CGFloat(self.width), height: CGFloat(self.height))
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user