mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-10-09 03:20:48 +00:00
Hide Phone in my profile. Closes #118
This commit is contained in:
parent
e490a29a37
commit
8c290e9a4e
@ -1416,7 +1416,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