mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-06-16 05:55:20 +00:00
mark mutual contact
This commit is contained in:
parent
e928f37094
commit
9288fa1e27
@ -144,3 +144,5 @@
|
||||
|
||||
/* Confirmation before making a Video Call */
|
||||
"CallConfirmation.Video.Title" = "Make a Video Call?";
|
||||
|
||||
"MutualContact.Label" = "mutual contact";
|
||||
|
@ -1335,7 +1335,7 @@ private func infoItems(nearestChatParticipant: (String?, Int32?), showProfileId:
|
||||
} else {
|
||||
label = presentationData.strings.ContactInfo_PhoneLabelMobile
|
||||
}
|
||||
items[currentPeerInfoSection]!.append(PeerInfoScreenLabeledValueItem(id: 2, label: label, text: formattedPhone, textColor: .accent, action: { node, progress in
|
||||
items[currentPeerInfoSection]!.append(PeerInfoScreenLabeledValueItem(id: 2, label: label, text: formattedPhone, additionalText: user.flags.contains(.mutualContact) ? i18n("MutualContact.Label", presentationData.strings.baseLanguageCode) : nil, textColor: .accent, action: { node, progress in
|
||||
interaction.openPhone(phone, node, nil, progress)
|
||||
}, longTapAction: nil, contextAction: { node, gesture, _ in
|
||||
interaction.openPhone(phone, node, gesture, nil)
|
||||
|
Loading…
x
Reference in New Issue
Block a user