mirror of
https://github.com/Novaloop-AG/element-x-android.git
synced 2026-11-04 01:19:33 +00:00
Format
This commit is contained in:
+4
-2
@@ -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(
|
||||||
|
|||||||
Reference in New Issue
Block a user