no need to remember the showProfilePicture state
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user