mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-07-19 17:51:29 +00:00
Hide Phone in my profile. Closes #118
This commit is contained in:
parent
cc6b566cdf
commit
90da8ab658
@ -1415,7 +1415,7 @@ private func infoItems(nearestChatParticipant: (String?, Int32?), showProfileId:
|
||||
}))
|
||||
}
|
||||
|
||||
if let phone = user.phone {
|
||||
if let phone = user.phone, !(SGSimpleSettings.shared.hidePhoneInSettings && isMyProfile) {
|
||||
let formattedPhone = formatPhoneNumber(context: context, number: phone)
|
||||
let label: String
|
||||
if formattedPhone.hasPrefix("+888 ") {
|
||||
|
Loading…
x
Reference in New Issue
Block a user