unused param
This commit is contained in:
parent
1ffacd1788
commit
efa9ff0959
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue