Explorar el Código

in GroupChatDetail header updates image

nayooti hace 5 años
padre
commit
2d6c8093f1
Se han modificado 1 ficheros con 6 adiciones y 0 borrados
  1. 6 0
      deltachat-ios/Controller/GroupChatDetailViewController.swift

+ 6 - 0
deltachat-ios/Controller/GroupChatDetailViewController.swift

@@ -156,6 +156,12 @@ class GroupChatDetailViewController: UIViewController {
             title: chat.name,
             subtitle: String.localizedStringWithFormat(String.localized("n_members"), chat.contactIds.count)
         )
+        if let img = chat.profileImage {
+            groupHeader.setImage(img)
+        } else {
+            groupHeader.setBackupImage(name: chat.name, color: chat.color)
+        }
+        groupHeader.setVerified(isVerified: chat.isVerified)
     }
 
     // MARK: - actions