Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix latestMessageIndex out of bounds error #75

Merged
merged 1 commit into from
Oct 17, 2024

Conversation

Taewan-P
Copy link
Owner

  • Resolves latestMessageIndex always 0 #72
  • Now, the multi-scroll ScrollStates are saved in custom implemented DefaultHashMap instead of MutableList.
    The DefaultHashMap has default values, so it will not be null and will not throw out of bounds error like Lists.

@Taewan-P Taewan-P added the bug Something isn't working label Oct 17, 2024
@Taewan-P Taewan-P self-assigned this Oct 17, 2024
Copy link

@Taewan-P Taewan-P merged commit dd911e8 into main Oct 17, 2024
3 checks passed
@Taewan-P Taewan-P deleted the fix/latest-message-index-bounds branch October 17, 2024 17:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

latestMessageIndex always 0
1 participant