|
@@ -185,6 +185,7 @@ class FirstRunActivity : BaseActivity(), ViewPager.OnPageChangeListener, Injecta
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
|
|
|
|
+ @Suppress("SpreadOperator")
|
|
private fun setupFeaturesViewAdapter() {
|
|
private fun setupFeaturesViewAdapter() {
|
|
val featuresViewAdapter = FeaturesViewAdapter(supportFragmentManager, *firstRun)
|
|
val featuresViewAdapter = FeaturesViewAdapter(supportFragmentManager, *firstRun)
|
|
binding.progressIndicator.setNumberOfSteps(featuresViewAdapter.count)
|
|
binding.progressIndicator.setNumberOfSteps(featuresViewAdapter.count)
|
|
@@ -223,6 +224,7 @@ class FirstRunActivity : BaseActivity(), ViewPager.OnPageChangeListener, Injecta
|
|
ViewGroup.LayoutParams.WRAP_CONTENT
|
|
ViewGroup.LayoutParams.WRAP_CONTENT
|
|
)
|
|
)
|
|
} else {
|
|
} else {
|
|
|
|
+ @Suppress("MagicNumber")
|
|
LinearLayout.LayoutParams(
|
|
LinearLayout.LayoutParams(
|
|
ViewGroup.LayoutParams.MATCH_PARENT,
|
|
ViewGroup.LayoutParams.MATCH_PARENT,
|
|
DisplayUtils.convertDpToPixel(if (isLandscape) 100f else 150f, this)
|
|
DisplayUtils.convertDpToPixel(if (isLandscape) 100f else 150f, this)
|