mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-12-22 22:25:57 +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
|
||||
|
||||
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
|
||||
} else if let currentPeer = self.currentPeer {
|
||||
title = currentPeer.displayTitle(strings: presentationData.strings, displayOrder: presentationData.nameDisplayOrder)
|
||||
|
||||
Reference in New Issue
Block a user