implement feedbacks

Signed-off-by: alperozturk <alper_ozturk@proton.me>
This commit is contained in:
alperozturk 2025-06-12 15:38:33 +02:00
parent 7d08bb527b
commit df32926a23
No known key found for this signature in database
GPG Key ID: 4E577DC593B59BDF
3 changed files with 7 additions and 3 deletions

View File

@ -154,7 +154,7 @@ public class FileDetailSharingFragment extends Fragment implements ShareeListAda
fileDataStorageManager = fileActivity.getStorageManager();
ShareRepository shareRepository = new RemoteShareRepository(fileActivity.getClientRepository(), fileActivity, fileDataStorageManager);
shareRepository.refreshSharesForFolder(file.getParentRemotePath());
shareRepository.refreshSharesForFolder(file.getRemotePath());
}
@Override

View File

@ -27,9 +27,13 @@ class RemoteShareRepository(
override fun refreshSharesForFolder(remotePath: String) {
scope.launch(Dispatchers.IO) {
val client = clientRepository.getOwncloudClient() ?: return@launch
val operation = GetSharesForFileOperation(remotePath, true, true, fileDataStorageManager)
val operation = GetSharesForFileOperation(remotePath, true, false, fileDataStorageManager)
@Suppress("DEPRECATION")
val result = operation.execute(client)
Log_OC.i(tag, "Remote path for the refresh shares: $remotePath")
if (result.isSuccess) {
Log_OC.d(tag, "Successfully refreshed shares for the specified remote path.")
} else {

View File

@ -10,7 +10,7 @@
*/
buildscript {
ext {
androidLibraryVersion ="d862794d794a7e8d8b53da98aa801753e684bf52"
androidLibraryVersion ="7cb4ea1d22"
androidCommonLibraryVersion = "0.26.0"
androidPluginVersion = "8.9.2"
androidxMediaVersion = "1.5.1"