mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-12-23 14:45:21 +00:00
Voice Chat UI fixes
This commit is contained in:
@@ -405,12 +405,11 @@ public func universalServiceMessageString(presentationData: (PresentationTheme,
|
||||
}
|
||||
attributedString = NSAttributedString(string: titleString, font: titleFont, textColor: primaryTextColor)
|
||||
case let .groupPhoneCall(_, _, duration):
|
||||
//TODO:localize
|
||||
let titleString: String
|
||||
if let duration = duration {
|
||||
titleString = "Voice chat ended (\(duration)s)"
|
||||
titleString = strings.Notification_VoiceChatEnded(callDurationString(strings: strings, value: duration)).0
|
||||
} else {
|
||||
titleString = "Voice chat started"
|
||||
titleString = strings.Notification_VoiceChatStarted
|
||||
}
|
||||
attributedString = NSAttributedString(string: titleString, font: titleFont, textColor: primaryTextColor)
|
||||
case let .customText(text, entities):
|
||||
|
||||
Reference in New Issue
Block a user