浏览代码

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: ""),