浏览代码

Fix folder fetch

Signed-off-by: Mario Danic <mario@lovelyhq.com>
Mario Danic 7 年之前
父节点
当前提交
bfcc1c5aa0
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      src/main/java/com/owncloud/android/datamodel/FilesystemDataProvider.java

+ 1 - 1
src/main/java/com/owncloud/android/datamodel/FilesystemDataProvider.java

@@ -161,7 +161,7 @@ public class FilesystemDataProvider {
                         ProviderMeta.ProviderTableMeta.FILESYSTEM_FILE_MODIFIED));
                 boolean isFolder = false;
                 if (cursor.getInt(cursor.getColumnIndex(
-                        ProviderMeta.ProviderTableMeta.FILESYSTEM_FILE_MODIFIED)) != 0) {
+                        ProviderMeta.ProviderTableMeta.FILESYSTEM_FILE_IS_FOLDER)) != 0) {
                     isFolder = true;
                 }
                 long foundAt = cursor.getLong(cursor.getColumnIndex(ProviderMeta.