mirror of
https://github.com/nextcloud/android.git
synced 2024-12-21 00:12:05 +03:00
fix codacy warning
This commit is contained in:
parent
da73fdbbe9
commit
433a281665
1 changed files with 1 additions and 2 deletions
|
@ -478,8 +478,7 @@ public class FileOperationsHelper {
|
||||||
if (hideFileListing) {
|
if (hideFileListing) {
|
||||||
updateShareIntent.putExtra(OperationsService.EXTRA_SHARE_PERMISSIONS, OCShare.CREATE_PERMISSION_FLAG);
|
updateShareIntent.putExtra(OperationsService.EXTRA_SHARE_PERMISSIONS, OCShare.CREATE_PERMISSION_FLAG);
|
||||||
} else {
|
} else {
|
||||||
OwnCloudVersion serverVersion =
|
OwnCloudVersion serverVersion = AccountUtils.getServerVersion(mFileActivity.getAccount());
|
||||||
com.owncloud.android.authentication.AccountUtils.getServerVersion(mFileActivity.getAccount());
|
|
||||||
|
|
||||||
if (serverVersion != null && serverVersion.isNotReshareableFederatedSupported()) {
|
if (serverVersion != null && serverVersion.isNotReshareableFederatedSupported()) {
|
||||||
updateShareIntent.
|
updateShareIntent.
|
||||||
|
|
Loading…
Reference in a new issue