Przeglądaj źródła

fix text formatting of system messages

cyberta 5 lat temu
rodzic
commit
532d03034b
1 zmienionych plików z 1 dodań i 0 usunięć
  1. 1 0
      deltachat-ios/DC/Wrapper.swift

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

@@ -526,6 +526,7 @@ class DcMsg: MessageType {
                 NSAttributedString.Key.foregroundColor: DcColors.grayTextColor,
                 NSAttributedString.Key.foregroundColor: DcColors.grayTextColor,
                 ])
                 ])
             print("show info: ", text)
             print("show info: ", text)
+            return MessageKind.attributedText(text)
         } else if isSetupMessage {
         } else if isSetupMessage {
             return MessageKind.text(String.localized("autocrypt_asm_click_body"))
             return MessageKind.text(String.localized("autocrypt_asm_click_body"))
         }
         }