Format
This commit is contained in:
parent
ee5cd431cf
commit
f4aea992de
1 changed files with 4 additions and 2 deletions
|
|
@ -120,7 +120,8 @@ class RoomMemberDetailsPresenter @AssistedInject constructor(
|
||||||
onFailure = {
|
onFailure = {
|
||||||
// Fallback to user profile
|
// Fallback to user profile
|
||||||
userProfile?.displayName
|
userProfile?.displayName
|
||||||
})
|
}
|
||||||
|
)
|
||||||
}
|
}
|
||||||
|
|
||||||
var userAvatar: String? by remember { mutableStateOf(roomMember?.avatarUrl ?: userProfile?.avatarUrl) }
|
var userAvatar: String? by remember { mutableStateOf(roomMember?.avatarUrl ?: userProfile?.avatarUrl) }
|
||||||
|
|
@ -131,7 +132,8 @@ class RoomMemberDetailsPresenter @AssistedInject constructor(
|
||||||
onFailure = {
|
onFailure = {
|
||||||
// Fallback to user profile
|
// Fallback to user profile
|
||||||
userProfile?.avatarUrl
|
userProfile?.avatarUrl
|
||||||
})
|
}
|
||||||
|
)
|
||||||
}
|
}
|
||||||
|
|
||||||
return RoomMemberDetailsState(
|
return RoomMemberDetailsState(
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue