unused param

This commit is contained in:
Valere 2021-08-27 16:34:18 +02:00
parent 1ffacd1788
commit efa9ff0959
1 changed files with 5 additions and 2 deletions

View File

@ -165,13 +165,16 @@ class RoomPreviewNoPreviewFragment @Inject constructor(
// Render with initial state, no peeking // Render with initial state, no peeking
views.roomPreviewPeekingProgress.isVisible = false views.roomPreviewPeekingProgress.isVisible = false
views.roomPreviewNoPreviewJoin.isVisible = true views.roomPreviewNoPreviewJoin.isVisible = true
renderState(bestName, state.matrixItem(), state.roomTopic, state.roomType) renderState(bestName, state.matrixItem(), state.roomTopic
/**, state.roomType*/)
views.roomPreviewNoPreviewLabel.isVisible = false views.roomPreviewNoPreviewLabel.isVisible = false
} }
} }
} }
private fun renderState(roomName: String, matrixItem: MatrixItem?, topic: String?, roomType: String?) { private fun renderState(roomName: String, matrixItem: MatrixItem?, topic: String?
/**, roomType: String?*/
) {
// Toolbar // Toolbar
if (matrixItem != null) { if (matrixItem != null) {
views.roomPreviewNoPreviewToolbarAvatar.isVisible = true views.roomPreviewNoPreviewToolbarAvatar.isVisible = true