mirror of
https://github.com/nextcloud/android.git
synced 2024-11-27 09:39:25 +03:00
OC-2489: Add new check to isSharedSupported
This commit is contained in:
parent
e9e26a464e
commit
c719e4a654
1 changed files with 1 additions and 1 deletions
|
@ -79,7 +79,7 @@ public class OwnCloudServerCheckOperation extends RemoteOperation {
|
|||
}
|
||||
public boolean isSharedSupported() {
|
||||
OwnCloudVersion shareServer = new OwnCloudVersion(OCVERSION_SHARED_SUPPORTED);
|
||||
if (isOnline()) {
|
||||
if (mOCVersionString != null) {
|
||||
return mOCVersionString.compareTo(shareServer) >= 0;
|
||||
} else {
|
||||
return false;
|
||||
|
|
Loading…
Reference in a new issue