mirror of
https://github.com/nextcloud/android.git
synced 2024-11-22 05:05:31 +03:00
set outdated server warning to NC13
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
This commit is contained in:
parent
d09df705bb
commit
2221ccd7b5
2 changed files with 2 additions and 2 deletions
|
@ -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();
|
||||
|
|
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue