Skip to content

Commit

Permalink
Merge pull request #12519 from nextcloud/Bugfix/errors_when_other_peo…
Browse files Browse the repository at this point in the history
…ple_rename_files

Bugfix for unspecific errors when renaming files from different session
  • Loading branch information
tobiasKaminsky committed Feb 13, 2024
2 parents bc0c9cf + 7df728f commit e9476b9
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -523,6 +523,8 @@ public void getFileWithLink(@NonNull OCFile file, final ViewThemeUtils viewTheme
showShareFile(file);
}
}

fileActivity.refreshList();
}

/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -423,7 +423,7 @@ String getMessageForResult(RemoteOperationResult result, Resources res) {
message = res.getString(R.string.auth_not_configured_title);

} else if (result.getCode() == ResultCode.FILE_NOT_FOUND) {
message = res.getString(R.string.auth_incorrect_path_title);
message = res.getString(R.string.file_not_found);

} else if (result.getCode() == ResultCode.OAUTH2_ERROR) {
message = res.getString(R.string.auth_oauth_error);
Expand Down

0 comments on commit e9476b9

Please sign in to comment.