Skip to content

Use PreferenceDataStore for messageListPreviewLines handling#10039

Merged
wmontwe merged 1 commit into
thunderbird:mainfrom
shamim-emon:fix-issue-10038
Nov 3, 2025
Merged

Use PreferenceDataStore for messageListPreviewLines handling#10039
wmontwe merged 1 commit into
thunderbird:mainfrom
shamim-emon:fix-issue-10038

Conversation

@shamim-emon
Copy link
Copy Markdown
Collaborator

@shamim-emon shamim-emon commented Nov 3, 2025

What’s Changed

Refactored all direct usages of K9.messageListPreviewLines to use the modern PreferenceDataStore for retrieving and updating the message list preview line preference.

Why

Accessing K9.messageListPreviewLines directly bypassed the modern preference management system.
This migration ensures consistency, improves maintainability, and aligns with the current preference architecture.

Copy link
Copy Markdown
Member

@wmontwe wmontwe left a comment

Choose a reason for hiding this comment

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

LGTM

@wmontwe wmontwe merged commit d716fb1 into thunderbird:main Nov 3, 2025
14 checks passed
@thunderbird-botmobile thunderbird-botmobile Bot added this to the Thunderbird 15 milestone Nov 3, 2025
@shamim-emon shamim-emon deleted the fix-issue-10038 branch November 3, 2025 14:14
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.

Replace all direct usage of K9.messageListPreviewLines with PreferenceDataStore

2 participants