Skip to content

Commit

Permalink
Make notes text selectable
Browse files Browse the repository at this point in the history
  • Loading branch information
hegocre committed Sep 7, 2024
1 parent 763dc57 commit 36aa9bd
Showing 1 changed file with 6 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ import androidx.compose.foundation.lazy.LazyColumn
import androidx.compose.foundation.lazy.itemsIndexed
import androidx.compose.foundation.text.InlineTextContent
import androidx.compose.foundation.text.appendInlineContent
import androidx.compose.foundation.text.selection.SelectionContainer
import androidx.compose.material.icons.Icons
import androidx.compose.material.icons.filled.Edit
import androidx.compose.material.icons.filled.Star
Expand Down Expand Up @@ -475,7 +476,11 @@ fun PasswordMarkdownField(
color = MaterialTheme.colorScheme.onSurfaceVariant
)
}
MDDocument(root)
SelectionContainer {
Column {
MDDocument(root)
}
}
}
}

Expand Down

0 comments on commit 36aa9bd

Please sign in to comment.