Skip to content

fix: Remove display of old thread during loading#2885

Open
Elouan1411 wants to merge 1 commit intomainfrom
reset-web-view
Open

fix: Remove display of old thread during loading#2885
Elouan1411 wants to merge 1 commit intomainfrom
reset-web-view

Conversation

@Elouan1411
Copy link
Copy Markdown
Contributor

No description provided.

Copilot AI review requested due to automatic review settings April 27, 2026 09:32
Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR aims to prevent previously displayed thread content from briefly appearing in recycled thread message rows while the new message body is still loading.

Changes:

  • Add an onViewRecycled hook to clear message WebView content by navigating to about:blank when a MessageViewHolder is recycled.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread app/src/main/java/com/infomaniak/mail/ui/main/thread/ThreadAdapter.kt Outdated
Comment thread app/src/main/java/com/infomaniak/mail/ui/main/thread/ThreadAdapter.kt Outdated
@sonarqubecloud
Copy link
Copy Markdown

❌ The last analysis has failed.

See analysis details on SonarQube Cloud

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants