Fixes a bug on clicking the user profile but loading the wrong one
This commit is contained in:
@@ -152,7 +152,7 @@ fun ClickableUserPicture(
|
|||||||
) {
|
) {
|
||||||
// BaseUser is the same reference as accountState.user
|
// BaseUser is the same reference as accountState.user
|
||||||
val myModifier =
|
val myModifier =
|
||||||
remember {
|
remember(baseUser) {
|
||||||
if (onClick != null && onLongClick != null) {
|
if (onClick != null && onLongClick != null) {
|
||||||
Modifier
|
Modifier
|
||||||
.size(size)
|
.size(size)
|
||||||
|
|||||||
Reference in New Issue
Block a user