Skip to content

Conversation

@rafaeltonholo
Copy link
Member

Resolves #10445.

This PR introduces:

  • Load folder information using the new MessageListStateMachine
  • Fix the crash when switching between accounts when the feature flag enable_message_list_new_state is enabled. Stacktrace:
kotlin.UninitializedPropertyAccessException: lateinit property adapter has not been initialized
	at com.fsck.k9.ui.messagelist.BaseMessageListFragment.updateFooterText(BaseMessageListFragment.kt:1441)
	at com.fsck.k9.ui.messagelist.BaseMessageListFragment.updateFooterText(BaseMessageListFragment.kt:1437)
	at com.fsck.k9.ui.messagelist.BaseMessageListFragment.folderLoading(BaseMessageListFragment.kt:763)
	at com.fsck.k9.ui.messagelist.MessageListHandler.handleMessage(MessageListHandler.java:88)

@rafaeltonholo rafaeltonholo force-pushed the refactor/10445/load-folder-info-message-list branch from d57868c to 666b0f7 Compare February 6, 2026 11:35
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.

[ML 0.5/MVI.01.2] - Populate the folder and account properties in the new MessageListState

3 participants