Parcourir la source

add explanation for verified groups

cyberta il y a 5 ans
Parent
commit
ec12ed30de
1 fichiers modifiés avec 7 ajouts et 0 suppressions
  1. 7 0
      deltachat-ios/Controller/NewGroupController.swift

+ 7 - 0
deltachat-ios/Controller/NewGroupController.swift

@@ -145,6 +145,13 @@ class NewGroupController: UITableViewController, MediaPickerDelegate {
         }
     }
 
+    override func tableView(_ tableView: UITableView, titleForFooterInSection section: Int) -> String? {
+        if section == sectionGroupDetails && isVerifiedGroup {
+            return String.localized("verified_group_explain")
+        }
+        return nil
+    }
+
     override func tableView(_ tableView: UITableView, heightForRowAt indexPath: IndexPath) -> CGFloat {
         let section = indexPath.section
         let row = indexPath.row