Skip to content

fix: Prevent crash with unconstrained avatar size

08fee37
Select commit
Loading
Failed to load commit list.
Merged

refactor(ui): Optimize image thumbnail loading and caching #2444

fix: Prevent crash with unconstrained avatar size
08fee37
Select commit
Loading
Failed to load commit list.
Codecov / codecov/project succeeded Nov 18, 2025 in 0s

64.60% (+0.07%) compared to 3b5e410

View this Pull Request on Codecov

64.60% (+0.07%) compared to 3b5e410

Details

Codecov Report

❌ Patch coverage is 66.31579% with 32 lines in your changes missing coverage. Please review.
✅ Project coverage is 64.60%. Comparing base (3b5e410) to head (08fee37).

Files with missing lines Patch % Lines
...tachment/thumbnail/image_attachment_thumbnail.dart 52.94% 16 Missing ⚠️
...ream_chat_flutter/lib/src/avatars/user_avatar.dart 66.66% 9 Missing ⚠️
...tachment/thumbnail/video_attachment_thumbnail.dart 0.00% 4 Missing ⚠️
...ttachment/thumbnail/thumbnail_size_calculator.dart 93.75% 1 Missing ⚠️
...flutter/lib/src/channel/stream_channel_avatar.dart 90.00% 1 Missing ⚠️
...m_chat_flutter/lib/src/gallery/gallery_footer.dart 0.00% 1 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##           master    #2444      +/-   ##
==========================================
+ Coverage   64.53%   64.60%   +0.07%     
==========================================
  Files         419      420       +1     
  Lines       26196    26210      +14     
==========================================
+ Hits        16905    16934      +29     
+ Misses       9291     9276      -15     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.