Various fixes

This commit is contained in:
Ilya Laktyushin
2024-01-15 17:08:34 +04:00
parent 8bcc38c24e
commit 41f943b5f1
6 changed files with 52 additions and 73 deletions

View File

@@ -634,7 +634,11 @@ public final class GroupCallNavigationAccessoryPanel: ASDisplayNode {
var isChannel = false
if let currentData = self.currentData {
if currentData.isChannel || currentData.info.isStream {
title = self.strings.VoiceChatChannel_Title
if let titleValue = currentData.info.title, !titleValue.isEmpty {
title = titleValue
} else {
title = self.strings.VoiceChatChannel_Title
}
isChannel = true
}
}