Voice Chat Fixes

This commit is contained in:
Ilya Laktyushin
2021-03-13 16:50:20 +04:00
parent ab8ef13188
commit e93d279cc0
12 changed files with 128 additions and 57 deletions

View File

@@ -430,7 +430,7 @@ func voiceChatTitleEditController(sharedContext: SharedAccountContext, account:
dismissImpl?(true)
let previousValue = value ?? ""
let newValue = contentNode.value
let newValue = contentNode.value.trimmingCharacters(in: .whitespacesAndNewlines)
apply(previousValue != newValue || value == nil ? newValue : nil)
}