[WIP] Business

This commit is contained in:
Isaac
2024-02-27 16:20:37 +04:00
parent 729a260626
commit aa4ca00cb0
51 changed files with 2521 additions and 362 deletions

View File

@@ -12,7 +12,7 @@ import QuickReplyNameAlertController
extension ChatControllerImpl {
func editChat() {
//TODO:localize
if case let .customChatContents(customChatContents) = self.subject, case let .quickReplyMessageInput(currentValue) = customChatContents.kind {
if case let .customChatContents(customChatContents) = self.subject, case let .quickReplyMessageInput(currentValue, shortcutType) = customChatContents.kind, case .generic = shortcutType {
var completion: ((String?) -> Void)?
let alertController = quickReplyNameAlertController(
context: self.context,