feat: Support WebP image uploads, correct JPG MIME type, and refine professional rating display logic.

This commit is contained in:
pradeepkumar committed 2026-03-18 12:32:41 +05:30
1 parent 2c657e77f2
commit cde137e07b
2 files changed
+6 -4

No files matched your search

@@ -290,7 +290,8 @@ class _TopProfessionalsSectionState
final experience = agent.experienceText;
final locationText = agent.location;
final subtitle = agent.agentType != null ? '(${agent.agentType!.name})' : '';
final rating = agent.averageRating ?? 5.0;
final rawRating = agent.averageRating ?? 0.0;
final rating = rawRating > 0 ? rawRating : 5.0;
return Container(
decoration: BoxDecoration(