cleaning
This commit is contained in:
parent
681b5b3ddc
commit
872b383c4d
|
@ -71,11 +71,11 @@ class SpaceSettingsMenuBottomSheet : VectorBaseBottomSheetDialogFragment<BottomS
|
||||||
|
|
||||||
val session = activeSessionHolder.getSafeActiveSession() ?: return
|
val session = activeSessionHolder.getSafeActiveSession() ?: return
|
||||||
val roomSummary = session.getRoomSummary(spaceArgs.spaceId)
|
val roomSummary = session.getRoomSummary(spaceArgs.spaceId)
|
||||||
roomSummary?.let { roomSummary ->
|
roomSummary?.toMatrixItem()?.let {
|
||||||
avatarRenderer.renderSpace(roomSummary.toMatrixItem(), views.roomAvatarImageView)
|
avatarRenderer.renderSpace(it, views.roomAvatarImageView)
|
||||||
views.roomNameView.text = roomSummary.displayName
|
|
||||||
views.roomDescription.text = roomSummary.topic
|
|
||||||
}
|
}
|
||||||
|
views.roomNameView.text = roomSummary?.displayName
|
||||||
|
views.roomDescription.text = roomSummary?.topic
|
||||||
|
|
||||||
val room = session.getRoom(spaceArgs.spaceId) ?: return
|
val room = session.getRoom(spaceArgs.spaceId) ?: return
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue