fix: resolve blurry channel avatar in message settings preview (#194)
OsamaX0X committed
- Author
- OsamaX0X · 317339914+OsamaX0X@users.noreply.github.comOct 6, 2026 at 00:45
- Committer
- GitHub · noreply@github.comOct 6, 2026 at 00:45
- Parents
- 5aff40b735d8
fix: resolve blurry channel avatar in message settings preview (#194) Fix channel avatar remaining blurry in MessagesPreviewCell - Preload channel avatar image via FileLoader when the preview channel is resolved or retrieved from cache. - Override onAttachedToWindow in the preview ChatMessageCell instances to set avatarImage.setParentView(this) and avatarImage.setInvalidateAll(true), preventing invalidation rect mismatches caused by ChatMessageCell defaulting parentView to (View) getParent(). - Set avatarImage.setAllowLoadingOnAttachedOnly(false) to prevent race conditions in image loading between view instantiation and window attachment. - Register an ImageReceiverDelegate callback to trigger immediate redraws upon the avatar image completing load/decode. Co-authored-by: Claude Sonnet 5 <noreply@anthropic.com>
1 file changed+33−0