Unverified Commit f515a781 authored by divyanshu bhargava's avatar divyanshu bhargava Committed by GitHub

Merge pull request #21 from RocketChat/develop

merge
parents 0eaa05dd afe5a739
...@@ -86,6 +86,7 @@ class FilesFragment : Fragment(), FilesView { ...@@ -86,6 +86,7 @@ class FilesFragment : Fragment(), FilesView {
} }
}) })
} }
group_no_file.isVisible = dataSet.isEmpty()
} else { } else {
adapter.appendData(dataSet) adapter.appendData(dataSet)
......
...@@ -7,19 +7,6 @@ ...@@ -7,19 +7,6 @@
android:layout_height="match_parent" android:layout_height="match_parent"
tools:context=".chatroom.ui.ChatRoomFragment"> tools:context=".chatroom.ui.ChatRoomFragment">
<com.wang.avi.AVLoadingIndicatorView
android:id="@+id/view_loading"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:visibility="gone"
app:indicatorColor="@color/colorBlack"
app:indicatorName="BallPulseIndicator"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toTopOf="parent"
tools:visibility="visible" />
<FrameLayout <FrameLayout
android:id="@+id/message_list_container" android:id="@+id/message_list_container"
android:layout_width="0dp" android:layout_width="0dp"
...@@ -142,4 +129,17 @@ ...@@ -142,4 +129,17 @@
tools:text="connected" tools:text="connected"
tools:visibility="visible" /> tools:visibility="visible" />
<com.wang.avi.AVLoadingIndicatorView
android:id="@+id/view_loading"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:visibility="gone"
app:indicatorColor="@color/colorBlack"
app:indicatorName="BallPulseIndicator"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toTopOf="parent"
tools:visibility="visible" />
</android.support.constraint.ConstraintLayout> </android.support.constraint.ConstraintLayout>
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment