mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-12-23 22:55:00 +00:00
Various fixes
This commit is contained in:
@@ -31,12 +31,26 @@ private func generateSmallBackgroundImage(color: UIColor) -> UIImage? {
|
||||
class LocationPinAnnotation: NSObject, MKAnnotation {
|
||||
let context: AccountContext
|
||||
let theme: PresentationTheme
|
||||
var coordinate: CLLocationCoordinate2D
|
||||
var coordinate: CLLocationCoordinate2D {
|
||||
willSet {
|
||||
self.willChangeValue(forKey: "coordinate")
|
||||
}
|
||||
didSet {
|
||||
self.didChangeValue(forKey: "coordinate")
|
||||
}
|
||||
}
|
||||
let location: TelegramMediaMap?
|
||||
let peer: Peer?
|
||||
let message: Message?
|
||||
let forcedSelection: Bool
|
||||
var heading: Int32?
|
||||
var heading: Int32? {
|
||||
willSet {
|
||||
self.willChangeValue(forKey: "heading")
|
||||
}
|
||||
didSet {
|
||||
self.didChangeValue(forKey: "heading")
|
||||
}
|
||||
}
|
||||
|
||||
var selfPeer: Peer?
|
||||
var title: String? = ""
|
||||
|
||||
Reference in New Issue
Block a user