no need to remember the showProfilePicture state
This commit is contained in:
@@ -399,15 +399,11 @@ private fun MessageBubbleLines(
|
|||||||
bubbleSize: MutableState<Int>,
|
bubbleSize: MutableState<Int>,
|
||||||
availableBubbleSize: MutableState<Int>
|
availableBubbleSize: MutableState<Int>
|
||||||
) {
|
) {
|
||||||
val automaticallyShowProfilePicture = remember {
|
|
||||||
accountViewModel.settings.showProfilePictures.value
|
|
||||||
}
|
|
||||||
|
|
||||||
if (drawAuthorInfo) {
|
if (drawAuthorInfo) {
|
||||||
DrawAuthorInfo(
|
DrawAuthorInfo(
|
||||||
baseNote,
|
baseNote,
|
||||||
alignment,
|
alignment,
|
||||||
automaticallyShowProfilePicture,
|
accountViewModel.settings.showProfilePictures.value,
|
||||||
nav
|
nav
|
||||||
)
|
)
|
||||||
} else {
|
} else {
|
||||||
|
|||||||
Reference in New Issue
Block a user