Procházet zdrojové kódy

show correct text in autocrypt-setup-messages

B. Petersen před 5 roky
rodič
revize
605678ea0a
1 změnil soubory, kde provedl 2 přidání a 0 odebrání
  1. 2 0
      deltachat-ios/DC/Wrapper.swift

+ 2 - 0
deltachat-ios/DC/Wrapper.swift

@@ -457,6 +457,8 @@ class DcMsg: MessageType {
                 NSAttributedString.Key.foregroundColor: UIColor.darkGray,
                 ])
             return MessageKind.attributedText(text)
+        } else if isSetupMessage {
+            return MessageKind.text(String.localized("autocrypt_asm_click_body"))
         }
 
         let text = self.text ?? ""