Skip to content

Commit

Permalink
Bug fix.
Browse files Browse the repository at this point in the history
  • Loading branch information
Slavik Urdzik committed May 27, 2020
1 parent 9af3e19 commit ce4b77e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -215,6 +215,7 @@ class ProfileFragment : Fragment() {
binding.googleLoginBtn.visibility = View.GONE
binding.saveText.visibility = View.VISIBLE
binding.recyclerSave.visibility = View.VISIBLE
binding.prograssBar.visibility = View.VISIBLE

viewModel.fetchMovieOfSave()
} else {
Expand All @@ -224,6 +225,7 @@ class ProfileFragment : Fragment() {
userFragment.visibility = View.GONE
saveText.visibility = View.GONE
recyclerSave.visibility = View.GONE
prograssBar.visibility = View.GONE
}

}
Expand Down
3 changes: 2 additions & 1 deletion app/src/main/res/layout/profile_fragment.xml
Original file line number Diff line number Diff line change
Expand Up @@ -204,10 +204,11 @@
tools:listitem="@layout/item" />

<ProgressBar
android:id="@+id/prograssBar"
style="@style/progressBarStyle"
android:foregroundGravity="center"
android:layout_width="64dp"
android:layout_height="64dp"
android:foregroundGravity="center"
android:indeterminateTint="@color/appColor"
android:indeterminateTintMode="src_in"
app:isNetworkError="@{safeUnbox(viewModel.eventNetworkError)}"
Expand Down

0 comments on commit ce4b77e

Please sign in to comment.