Add missing strings

This commit is contained in:
Isaac
2024-03-01 12:58:06 +04:00
parent d0f8ce7a3a
commit 10aa90b94a
2 changed files with 4 additions and 1 deletions

View File

@@ -519,7 +519,7 @@ func chatHistoryEntriesForView(
if let subject = associatedData.subject, case let .customChatContents(customChatContents) = subject, case let .quickReplyMessageInput(_, shortcutType) = customChatContents.kind, case .generic = shortcutType {
if !view.isLoading && view.laterId == nil && !view.entries.isEmpty {
for i in 0 ..< 2 {
let string = i == 1 ? "To edit or delete your quick reply, tap an hold on it." : "To use this quick reply in a chat, type / and select the shortcut from the list."
let string = i == 1 ? presentationData.strings.Chat_QuickReply_ServiceHeader1 : presentationData.strings.Chat_QuickReply_ServiceHeader2
let formattedString = parseMarkdownIntoAttributedString(
string,
attributes: MarkdownAttributes(