Skip to content

Commit 6ab6c91

Browse files
committed
use share's permission
Signed-off-by: alperozturk <[email protected]>
1 parent e99b6f8 commit 6ab6c91

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/src/main/java/it/niedermann/owncloud/notes/share/NoteShareActivity.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -749,7 +749,7 @@ public void setPasswordToShare(@NotNull OCShare share, @Nullable String password
749749
password,
750750
false,
751751
-1,
752-
repository.getCapabilities().getDefaultPermission()
752+
share.getPermissions()
753753
);
754754
final var result = repository.updateShare(share.getId(), requestBody);
755755

0 commit comments

Comments
 (0)