소스 검색

fix

Signed-off-by: marinofaggiana <ios@nextcloud.com>
marinofaggiana 2 년 전
부모
커밋
94bd6c3644
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      iOSClient/Menu/NCCollectionViewCommon+Menu.swift

+ 1 - 1
iOSClient/Menu/NCCollectionViewCommon+Menu.swift

@@ -297,7 +297,7 @@ extension NCCollectionViewCommon {
         //
         // COLOR FOLDER
         //
-        if metadata.directory {
+        if self is NCFiles, metadata.directory {
             actions.append(
                 NCMenuAction(
                     title: NSLocalizedString("_change_color_", comment: ""),