marinofaggiana 3 년 전
부모
커밋
7cc67fd257
1개의 변경된 파일7개의 추가작업 그리고 1개의 파일을 삭제
  1. 7 1
      iOSClient/Main/Collection Common/NCCollectionViewCommon.swift

+ 7 - 1
iOSClient/Main/Collection Common/NCCollectionViewCommon.swift

@@ -245,11 +245,17 @@ class NCCollectionViewCommon: UIViewController, UIGestureRecognizerDelegate, UIS
         
         if appDelegate.account == "" { return }
         
+        // Search
         if searchController?.isActive ?? false {
             searchController?.isActive = false
         }
         
-        selectOcId.removeAll()
+        // Select
+        if isEditMode {
+            isEditMode = !isEditMode
+            selectOcId.removeAll()
+            setNavigationItem()
+        }
         
         // set active serverUrl
         if self.view?.window != nil {