Skip to content

Commit 92a0377

Browse files
committed
add share attribute field
Signed-off-by: alperozturk <alper_ozturk@proton.me>
1 parent c88108e commit 92a0377

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

app/src/main/java/com/owncloud/android/datamodel/FileDataStorageManager.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1598,7 +1598,7 @@ private OCShare createShareInstance(Cursor cursor) {
15981598
getInt(cursor, ProviderTableMeta.OCSHARES_DOWNLOADLIMIT_COUNT));
15991599
share.setFileDownloadLimit(downloadLimit);
16001600

1601-
share.setAttributes(getString(cursor,ProviderTableMeta.OCSHARES_ATTRIBUTES));
1601+
share.setAttributes(getString(cursor, ProviderTableMeta.OCSHARES_ATTRIBUTES));
16021602

16031603
return share;
16041604
}

app/src/main/java/com/owncloud/android/ui/fragment/util/SharePermissionManager.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -114,6 +114,6 @@ class SharePermissionManager {
114114
return null
115115
}
116116

117-
return ShareAttributesJsonHandler.parseJson(share.attributes!!)
117+
return ShareAttributesJsonHandler.toList(share.attributes!!)
118118
}
119119
}

0 commit comments

Comments
 (0)