set outdated server warning to NC13

Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
This commit is contained in:
tobiasKaminsky 2019-05-07 16:15:12 +02:00
parent d09df705bb
commit 2221ccd7b5
No known key found for this signature in database
GPG key ID: 0E00D4D47D0C5AF7
2 changed files with 2 additions and 2 deletions

View file

@ -115,7 +115,7 @@ public class MainApp extends MultiDexApplication implements
HasContentProviderInjector,
HasBroadcastReceiverInjector {
public static final OwnCloudVersion OUTDATED_SERVER_VERSION = OwnCloudVersion.nextcloud_14;
public static final OwnCloudVersion OUTDATED_SERVER_VERSION = OwnCloudVersion.nextcloud_13;
public static final OwnCloudVersion MINIMUM_SUPPORTED_SERVER_VERSION = OwnCloudVersion.nextcloud_12;
private static final String TAG = MainApp.class.getSimpleName();

View file

@ -1234,7 +1234,7 @@ public class AuthenticatorActivity extends AccountAuthenticatorActivity
// show outdated warning
if (getResources().getBoolean(R.bool.show_outdated_server_warning) &&
mServerInfo.mVersion.compareTo(MainApp.OUTDATED_SERVER_VERSION) < 0) {
MainApp.OUTDATED_SERVER_VERSION.compareTo(mServerInfo.mVersion) >= 0) {
DisplayUtils.showServerOutdatedSnackbar(this);
}