Skip to content
Snippets Groups Projects
Commit 539760f6 authored by Geoffrey Métais's avatar Geoffrey Métais
Browse files

Onboarding: Cancel scope on activity destroyed

parent 62e14fb5
No related branches found
No related tags found
No related merge requests found
Pipeline #5471 passed with stage
in 14 minutes and 34 seconds
......@@ -121,6 +121,11 @@ class OnboardingActivity : AppCompatActivity(), ViewPager.OnPageChangeListener,
if (count == 4) onCustomizedChanged(true)
}
override fun onDestroy() {
super.onDestroy()
cancel()
}
private fun completeOnBoarding() {
setResult(PreferencesActivity.RESULT_RESTART)
Settings.getInstance(this)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment