Skip to content

Commit

Permalink
Fixed the visibility bug
Browse files Browse the repository at this point in the history
  • Loading branch information
akshaaatt committed May 26, 2021
1 parent 752790c commit d8db2d7
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -127,6 +127,8 @@ abstract class OnboardBaseFragment : Fragment(), SlideSelectionListener, SlideBa
animationView.setAnimation(resourceId)
}
else{
slideImage.visibility = VISIBLE
animationView.visibility = GONE
slideImage.setImageResource(resourceId)
}
titleTypeface?.applyTo(titleText)
Expand Down Expand Up @@ -169,6 +171,7 @@ abstract class OnboardBaseFragment : Fragment(), SlideSelectionListener, SlideBa
outState.putInt(ARG_BG_COLOR, defaultBackgroundColor)
outState.putInt(ARG_TITLE_COLOR, titleColor)
outState.putInt(ARG_DESC_COLOR, descColor)
outState.putBoolean(IS_LOTTIE,isLottie)
if (titleTypeface != null) {
outState.putString(ARG_TITLE_TYPEFACE, titleTypeface?.typeFaceUrl)
outState.putInt(ARG_TITLE_TYPEFACE_RES, titleTypeface?.typeFaceResource ?: 0)
Expand Down

0 comments on commit d8db2d7

Please sign in to comment.