From efa9ff0959ccd503b4e44b64862e9502ce97d603 Mon Sep 17 00:00:00 2001 From: Valere Date: Fri, 27 Aug 2021 16:34:18 +0200 Subject: [PATCH] unused param --- .../roompreview/RoomPreviewNoPreviewFragment.kt | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/vector/src/main/java/im/vector/app/features/roomdirectory/roompreview/RoomPreviewNoPreviewFragment.kt b/vector/src/main/java/im/vector/app/features/roomdirectory/roompreview/RoomPreviewNoPreviewFragment.kt index 99667f620a..fb25b22e93 100644 --- a/vector/src/main/java/im/vector/app/features/roomdirectory/roompreview/RoomPreviewNoPreviewFragment.kt +++ b/vector/src/main/java/im/vector/app/features/roomdirectory/roompreview/RoomPreviewNoPreviewFragment.kt @@ -165,13 +165,16 @@ class RoomPreviewNoPreviewFragment @Inject constructor( // Render with initial state, no peeking views.roomPreviewPeekingProgress.isVisible = false views.roomPreviewNoPreviewJoin.isVisible = true - renderState(bestName, state.matrixItem(), state.roomTopic, state.roomType) + renderState(bestName, state.matrixItem(), state.roomTopic + /**, state.roomType*/) 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 if (matrixItem != null) { views.roomPreviewNoPreviewToolbarAvatar.isVisible = true