mirror of
https://github.com/nextcloud/notes-android.git
synced 2024-12-18 08:32:24 +03:00
Merge pull request #2274 from nextcloud/jtr/fix-404-server-app-hint
fix: give hint about missing server-side app for 404s
This commit is contained in:
commit
d2ea7a9432
1 changed files with 4 additions and 0 deletions
|
@ -96,6 +96,10 @@ public class TipsAdapter extends RecyclerView.Adapter<TipsViewHolder> {
|
||||||
add(R.string.error_dialog_server_app_enabled);
|
add(R.string.error_dialog_server_app_enabled);
|
||||||
add(R.string.error_dialog_redirect);
|
add(R.string.error_dialog_redirect);
|
||||||
}
|
}
|
||||||
|
case 404 -> {
|
||||||
|
add(R.string.error_dialog_server_app_enabled);
|
||||||
|
add(R.string.error_dialog_check_server);
|
||||||
|
}
|
||||||
case 500 -> add(R.string.error_dialog_check_server_logs);
|
case 500 -> add(R.string.error_dialog_check_server_logs);
|
||||||
case 503 -> add(R.string.error_dialog_check_maintenance);
|
case 503 -> add(R.string.error_dialog_check_maintenance);
|
||||||
case 507 -> add(R.string.error_dialog_insufficient_storage);
|
case 507 -> add(R.string.error_dialog_insufficient_storage);
|
||||||
|
|
Loading…
Reference in a new issue