no need to remember the showProfilePicture state

This commit is contained in:
Vitor Pamplona
2023-12-29 19:43:14 -05:00
parent 2de3d19a34
commit 53a320b4dc
@@ -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 {