Add enum EditProfileDetails instead of reusing RoomHeader
This commit is contained in:
parent
f886bf7105
commit
ff63755165
2 changed files with 3 additions and 1 deletions
|
|
@ -109,7 +109,7 @@ fun EditUserProfileView(
|
||||||
matrixId = state.userId.value,
|
matrixId = state.userId.value,
|
||||||
displayName = state.displayName,
|
displayName = state.displayName,
|
||||||
avatarUrl = state.userAvatarUrl,
|
avatarUrl = state.userAvatarUrl,
|
||||||
avatarSize = AvatarSize.RoomHeader,
|
avatarSize = AvatarSize.EditProfileDetails,
|
||||||
onAvatarClick = { onAvatarClick() },
|
onAvatarClick = { onAvatarClick() },
|
||||||
modifier = Modifier.align(Alignment.CenterHorizontally),
|
modifier = Modifier.align(Alignment.CenterHorizontally),
|
||||||
)
|
)
|
||||||
|
|
|
||||||
|
|
@ -55,4 +55,6 @@ enum class AvatarSize(val dp: Dp) {
|
||||||
CustomRoomNotificationSetting(36.dp),
|
CustomRoomNotificationSetting(36.dp),
|
||||||
|
|
||||||
RoomDirectoryItem(36.dp),
|
RoomDirectoryItem(36.dp),
|
||||||
|
|
||||||
|
EditProfileDetails(96.dp),
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue