Skip to content

Commit

Permalink
no need to remember the showProfilePicture state
Browse files Browse the repository at this point in the history
  • Loading branch information
vitorpamplona committed Dec 30, 2023
1 parent 2de3d19 commit 53a320b
Showing 1 changed file with 1 addition and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -399,15 +399,11 @@ private fun MessageBubbleLines(
bubbleSize: MutableState<Int>,
availableBubbleSize: MutableState<Int>
) {
val automaticallyShowProfilePicture = remember {
accountViewModel.settings.showProfilePictures.value
}

if (drawAuthorInfo) {
DrawAuthorInfo(
baseNote,
alignment,
automaticallyShowProfilePicture,
accountViewModel.settings.showProfilePictures.value,
nav
)
} else {
Expand Down

0 comments on commit 53a320b

Please sign in to comment.