Poll UI improvements

This commit is contained in:
Ali
2020-01-13 00:37:27 +04:00
parent 2a6f1f811b
commit 6d5bfe1f1e
12 changed files with 142 additions and 28 deletions

View File

@@ -396,7 +396,7 @@ private func createPollControllerEntries(presentationData: PresentationData, pee
}
var canBePublic = true
if let channel = peer as? TelegramChannel, case .broadcast = channel.info, let username = channel.username, !username.isEmpty {
if let channel = peer as? TelegramChannel, case .broadcast = channel.info {
canBePublic = false
}