mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-12-22 22:25:57 +00:00
Location Picker fixes
This commit is contained in:
@@ -136,7 +136,9 @@ private enum LocationPickerEntry: Comparable, Identifiable {
|
||||
icon = .location
|
||||
}
|
||||
return LocationActionListItem(presentationData: ItemListPresentationData(presentationData), account: account, title: title, subtitle: subtitle, icon: icon, action: {
|
||||
if let coordinate = coordinate {
|
||||
if let venue = venue {
|
||||
interaction?.sendVenue(venue)
|
||||
} else if let coordinate = coordinate {
|
||||
interaction?.sendLocation(coordinate)
|
||||
}
|
||||
}, highlighted: { highlighted in
|
||||
|
||||
Reference in New Issue
Block a user