mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-06-16 05:55:20 +00:00
10 lines
212 B
Swift
10 lines
212 B
Swift
import Foundation
|
|
|
|
func processedPeerRestrictionText(_ text: String) -> String {
|
|
if let range = text.range(of: ":") {
|
|
return String(text[range.upperBound...])
|
|
} else {
|
|
return text
|
|
}
|
|
}
|