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 crash ImmutableModelException #4742

Merged
merged 4 commits into from
Dec 17, 2021

Conversation

ariskotsomitopoulos
Copy link
Contributor

@ariskotsomitopoulos ariskotsomitopoulos commented Dec 16, 2021

This PR fixes the long press crash on a reply event on develop branch. Somehow in production works.

@github-actions
Copy link

github-actions bot commented Dec 16, 2021

Unit Test Results

  66 files  ±0    66 suites  ±0   59s ⏱️ ±0s
135 tests ±0  135 ✔️ ±0  0 💤 ±0  0 ±0 
418 runs  ±0  418 ✔️ ±0  0 💤 ±0  0 ±0 

Results for commit ddbf858. ± Comparison against base commit 3b35be5.

♻️ This comment has been updated with latest results.

@@ -44,7 +45,7 @@ fun CharSequence.findPillsAndProcess(scope: CoroutineScope, processBlock: (PillI

fun CharSequence.linkify(callback: TimelineEventController.UrlClickCallback?): CharSequence {
val text = this.toString()
val spannable = toSpannable()
val spannable = SpannableStringBuilder(this)
Copy link
Member

Choose a reason for hiding this comment

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

Strange...
Maybe worth adding a comment, to ensure that this (recent - ab70ee5) change will not be repeated.

Copy link
Contributor

Choose a reason for hiding this comment

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

Copy link
Member

@ganfra ganfra left a comment

Choose a reason for hiding this comment

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

LGTM

@ganfra ganfra merged commit 461beda into develop Dec 17, 2021
@ganfra ganfra deleted the feature/aris/fix_immutable_model_crash branch December 17, 2021 14:30
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.

4 participants