diff options
author | stefan-niedermann <info@niedermann.it> | 2020-03-20 10:41:54 +0300 |
---|---|---|
committer | stefan-niedermann <info@niedermann.it> | 2020-03-20 10:41:54 +0300 |
commit | ee9c1ffd628dbbdfc1f7657803f94f0ba3c8c11b (patch) | |
tree | 6c2bd4cccbc0924c9ab8c2988333da1f69a4af2b /app/src/main/java/it/niedermann/nextcloud/deck/ui/ImportAccountActivity.java | |
parent | 528a815223c4cc1d3e079b50d7e6ffbff97c3a14 (diff) | |
parent | 56fdf0e9762cb695ddc86ffe5d8e20c335402df0 (diff) |
Merge remote-tracking branch 'origin/master' into refactor-drawer-and-main
# Conflicts:
# app/src/main/java/it/niedermann/nextcloud/deck/api/JsonToEntityParser.java
# app/src/main/java/it/niedermann/nextcloud/deck/ui/DrawerActivity.java
Diffstat (limited to 'app/src/main/java/it/niedermann/nextcloud/deck/ui/ImportAccountActivity.java')
-rw-r--r-- | app/src/main/java/it/niedermann/nextcloud/deck/ui/ImportAccountActivity.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/src/main/java/it/niedermann/nextcloud/deck/ui/ImportAccountActivity.java b/app/src/main/java/it/niedermann/nextcloud/deck/ui/ImportAccountActivity.java index 7018d0511..21b29ee84 100644 --- a/app/src/main/java/it/niedermann/nextcloud/deck/ui/ImportAccountActivity.java +++ b/app/src/main/java/it/niedermann/nextcloud/deck/ui/ImportAccountActivity.java @@ -145,7 +145,7 @@ public class ImportAccountActivity extends AppCompatActivity { syncManager.getServerVersion(new IResponseCallback<Capabilities>(createdAccount) { @Override public void onResponse(Capabilities response) { - if (response.getDeckVersion().compareTo(new Version(minimumServerAppMajor, minimumServerAppMinor, minimumServerAppPatch)) < 0) { + if (response.getDeckVersion().compareTo(new Version("", minimumServerAppMajor, minimumServerAppMinor, minimumServerAppPatch)) < 0) { setStatusText(R.string.deck_outdated_please_update); runOnUiThread(() -> { binding.updateDeckButton.setOnClickListener((v) -> { |