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:
Andy Scherzinger 2024-07-15 18:20:13 +02:00 committed by GitHub
commit d2ea7a9432
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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);