Enable Forward Button on Onboarding when going back
On the last Onboarding Screen, when going back the forward button is disabled. This blocked you from finishing the Onboarding.
This commit is contained in:
@@ -136,6 +136,7 @@ class OnboardingActivity : BaseActivity() {
|
||||
|
||||
fun refreshButtonState() {
|
||||
B.btnBackward.isEnabled = lastPosition != 0
|
||||
B.btnForward.isEnabled = lastPosition != 4
|
||||
if (lastPosition == 4) {
|
||||
B.btnForward.text = getString(R.string.action_finish)
|
||||
B.btnForward.setOnClickListener {
|
||||
|
||||
Reference in New Issue
Block a user