Skip to content
This repository has been archived by the owner on Sep 27, 2024. It is now read-only.

Commit

Permalink
[Android] Fix performance issue caused by excessive recomposition (#803)
Browse files Browse the repository at this point in the history
  • Loading branch information
jonnyandrew authored Sep 12, 2023
1 parent 3c10133 commit c65b914
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ class RichTextEditorState(
initialHtml: String = "",
fake: Boolean = false,
) {
internal var viewConnection: ViewConnection? = null
internal var viewConnection: ViewConnection? by mutableStateOf(null)

init {
if (fake) {
Expand Down

0 comments on commit c65b914

Please sign in to comment.