mirror of
https://github.com/vitorpamplona/amethyst.git
synced 2025-10-04 20:32:30 +02:00
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