mirror of
https://github.com/nextcloud/android.git
synced 2024-11-27 09:39:25 +03:00
Show maintenance mode message while authenticating
# Conflicts: # src/com/owncloud/android/authentication/AuthenticatorActivity.java
This commit is contained in:
parent
2238a09915
commit
7c56163c82
1 changed files with 2 additions and 1 deletions
|
@ -124,6 +124,7 @@ public class ErrorMessageAdapter {
|
|||
// Error --> No permissions
|
||||
message = String.format(res.getString(R.string.forbidden_permissions),
|
||||
res.getString(R.string.forbidden_permissions_delete));
|
||||
|
||||
} else if (result.getCode() == ResultCode.MAINTENANCE_MODE) {
|
||||
message = res.getString(R.string.maintenance_mode);
|
||||
|
||||
|
@ -299,7 +300,7 @@ public class ErrorMessageAdapter {
|
|||
} else if (result.getCode() == ResultCode.FORBIDDEN) {
|
||||
message = String.format(res.getString(R.string.forbidden_permissions),
|
||||
res.getString(R.string.forbidden_permissions_copy));
|
||||
|
||||
|
||||
} else if (result.getCode() == ResultCode.MAINTENANCE_MODE) {
|
||||
message = res.getString(R.string.maintenance_mode);
|
||||
|
||||
|
|
Loading…
Reference in a new issue