-
-
Notifications
You must be signed in to change notification settings - Fork 1.9k
see favorite in shared view #10754
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
see favorite in shared view #10754
Conversation
allow to favorite/unfavorite it Signed-off-by: tobiasKaminsky <[email protected]>
|
APK file: https://www.kaminsky.me/nc-dev/android-artifacts/10754.apk |
|
blue-Light-IT test failed: https://www.kaminsky.me/nc-dev/android-integrationTests/10754-Screenshot-blue-Light-08-18 |
|
master-IT test failed: https://www.kaminsky.me/nc-dev/android-integrationTests/6074-IT-master-06-43 |
| return position; | ||
| } | ||
|
|
||
| public void setFavoriteAttributeForItemID(String fileId, boolean favorite, boolean removeFromList) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Method should be renamed to setFavoriteAttributeForRemotePath
| note = firstShare.note | ||
| fileId = firstShare.fileSource | ||
| remoteId = firstShare.remoteId.toString() | ||
| remoteId = firstShare.fileSource.toString() |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is a bit confusing. Why are we setting remoteId from OCShare.fileSource and not from OCShare.remoteId? It may make sense to add a comment to explain why

allow to favorite/unfavorite it
Signed-off-by: tobiasKaminsky [email protected]