Fix build

This commit is contained in:
Niels Andriesse 2021-05-14 13:53:41 +10:00
parent 9699126ac9
commit 6e5f75d472
3 changed files with 1 additions and 11 deletions

View File

@ -212,7 +212,7 @@ class EnterChatURLFragment : Fragment() {
chatURLEditText.imeOptions = chatURLEditText.imeOptions or 16777216 // Always use incognito keyboard
joinPublicChatButton.setOnClickListener { joinPublicChatIfPossible() }
viewModel.defaultRooms.observe(viewLifecycleOwner) { state ->
defaultRoomsParent.isVisible = state is State.Success
defaultRoomsContainer.isVisible = state is State.Success
defaultRoomsLoader.isVisible = state is State.Loading
when (state) {
State.Loading -> {

View File

@ -33,12 +33,7 @@
<LinearLayout
android:visibility="gone"
<<<<<<< HEAD
android:paddingHorizontal="24dp"
android:id="@+id/defaultRoomsParent"
=======
android:id="@+id/defaultRoomsContainer"
>>>>>>> 133bcac17 (Make chips look better)
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="vertical">

View File

@ -33,12 +33,7 @@
<LinearLayout
android:visibility="gone"
<<<<<<< HEAD
android:paddingHorizontal="24dp"
android:id="@+id/defaultRoomsParent"
=======
android:id="@+id/defaultRoomsContainer"
>>>>>>> 133bcac17 (Make chips look better)
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="vertical">