mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-12-23 06:35:51 +00:00
Fix custom voice chat title display in status bar
This commit is contained in:
@@ -322,7 +322,7 @@ public class CallStatusBarNodeImpl: CallStatusBarNode {
|
|||||||
var displaySpeakerSubtitle = false
|
var displaySpeakerSubtitle = false
|
||||||
|
|
||||||
if let presentationData = self.presentationData {
|
if let presentationData = self.presentationData {
|
||||||
if let voiceChatTitle = self.currentGroupCallState?.info?.title, !title.isEmpty {
|
if let voiceChatTitle = self.currentGroupCallState?.info?.title, !voiceChatTitle.isEmpty {
|
||||||
title = voiceChatTitle
|
title = voiceChatTitle
|
||||||
} else if let currentPeer = self.currentPeer {
|
} else if let currentPeer = self.currentPeer {
|
||||||
title = currentPeer.displayTitle(strings: presentationData.strings, displayOrder: presentationData.nameDisplayOrder)
|
title = currentPeer.displayTitle(strings: presentationData.strings, displayOrder: presentationData.nameDisplayOrder)
|
||||||
|
|||||||
Reference in New Issue
Block a user