Enable forward button on 4th screen
!175 added a new check to enable forward button that broke 4th screen after !147 was merged. This check enables the 4th button that has special handling. Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
This commit is contained in:
@@ -139,6 +139,7 @@ class OnboardingActivity : BaseActivity() {
|
||||
B.btnForward.isEnabled = lastPosition != 4
|
||||
if (lastPosition == 4) {
|
||||
B.btnForward.text = getString(R.string.action_finish)
|
||||
B.btnForward.isEnabled = true
|
||||
B.btnForward.setOnClickListener {
|
||||
save(PREFERENCE_INTRO, true)
|
||||
open(SplashActivity::class.java, true)
|
||||
@@ -207,4 +208,4 @@ class OnboardingActivity : BaseActivity() {
|
||||
return 5
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user