소스 검색

invite qr code should be available for normal group creation, too

cyberta 5 년 전
부모
커밋
9539827d77
1개의 변경된 파일1개의 추가작업 그리고 3개의 파일을 삭제
  1. 1 3
      deltachat-ios/Controller/NewGroupController.swift

+ 1 - 3
deltachat-ios/Controller/NewGroupController.swift

@@ -21,9 +21,7 @@ class NewGroupController: UITableViewController, MediaPickerDelegate {
     private let sectionInvite = 1
     private let sectionInvite = 1
     private let sectionInviteRowAddMembers = 0
     private let sectionInviteRowAddMembers = 0
     private let sectionInviteRowShowQrCode = 1
     private let sectionInviteRowShowQrCode = 1
-    private lazy var countSectionInvite: Int = {
-        return isVerifiedGroup ? 2 : 1
-    }()
+    private lazy var countSectionInvite: Int = 2
     private let sectionGroupMembers = 2
     private let sectionGroupMembers = 2
 
 
     lazy var groupNameCell: TextFieldCell = {
     lazy var groupNameCell: TextFieldCell = {