Merge branch 'beta'

This commit is contained in:
Ilya Laktyushin
2019-12-06 19:42:49 +04:00
51 changed files with 5017 additions and 3826 deletions

View File

@@ -124,7 +124,7 @@ public final class LocationPickerController: ViewController {
}
let controller = ActionSheetController(presentationData: strongSelf.presentationData)
var title = strongSelf.presentationData.strings.Map_LiveLocationGroupDescription
if case let .share(peer, _, _) = strongSelf.mode, let receiver = peer {
if case let .share(peer, _, _) = strongSelf.mode, let receiver = peer as? TelegramUser {
title = strongSelf.presentationData.strings.Map_LiveLocationPrivateDescription(receiver.compactDisplayTitle).0
}
controller.setItemGroups([