Modifier.weight(1f) is stateless. It doesn't need to be keyed on noteEvent
This commit is contained in:
@@ -1289,7 +1289,7 @@ fun SecondUserInfoRow(
|
|||||||
verticalAlignment = CenterVertically,
|
verticalAlignment = CenterVertically,
|
||||||
modifier = UserNameMaxRowHeight,
|
modifier = UserNameMaxRowHeight,
|
||||||
) {
|
) {
|
||||||
Column(modifier = remember(noteEvent) { Modifier.weight(1f) }) {
|
Column(modifier = remember { Modifier.weight(1f) }) {
|
||||||
if (noteEvent is IForkableEvent && noteEvent.isAFork()) {
|
if (noteEvent is IForkableEvent && noteEvent.isAFork()) {
|
||||||
ShowForkInformation(noteEvent, Modifier, accountViewModel, nav)
|
ShowForkInformation(noteEvent, Modifier, accountViewModel, nav)
|
||||||
} else {
|
} else {
|
||||||
|
|||||||
Reference in New Issue
Block a user