Fix compile after v1.0.11 merge

Change-Id: I122e4d98b464606c25c837d6d28e32a2c9f08c72
This commit is contained in:
SpiritCroc 2020-11-29 13:15:47 +01:00
parent 86e638428b
commit f23bea23e5
2 changed files with 5 additions and 6 deletions

View File

@ -318,9 +318,9 @@ class RoomListFragment @Inject constructor(
val emptyState = when (roomListParams.displayMode) {
RoomListDisplayMode.ALL ->
StateView.State.Empty(
getString(R.string.all_list_rooms_empty_title),
ContextCompat.getDrawable(requireContext(), R.drawable.ic_home_bottom_group),
getString(R.string.all_list_rooms_empty_body)
title = getString(R.string.all_list_rooms_empty_title),
image = ContextCompat.getDrawable(requireContext(), R.drawable.ic_home_bottom_group),
message = getString(R.string.all_list_rooms_empty_body)
)
RoomListDisplayMode.NOTIFICATIONS -> {
if (hasNoRoom) {

View File

@ -98,9 +98,8 @@ class CreateRoomController @Inject constructor(private val stringProvider: Strin
switchChecked(viewState.roomType is CreateRoomViewState.RoomType.Public)
showDivider(viewState.roomType !is CreateRoomViewState.RoomType.Public)
listener { value ->
listener?.setIsPublic(value)
}
listener { value ->
listener?.setIsPublic(value)
}
}
if (viewState.roomType is CreateRoomViewState.RoomType.Public) {