mirror of
https://github.com/tachiyomiorg/tachiyomi.git
synced 2024-11-20 09:19:18 +01:00
refactor: disable going back to privacy policy.
Once it's accepted they have to uninstall the app if they change their mind. Signed-off-by: KaiserBh <kaiserbh@proton.me>
This commit is contained in:
parent
14a3f805fb
commit
74815f308f
@ -34,6 +34,7 @@ fun OnboardingScreen(
|
||||
var currentStep by rememberSaveable { mutableIntStateOf(0) }
|
||||
val steps = remember {
|
||||
listOf(
|
||||
PrivacyPolicyStep(),
|
||||
ThemeStep(),
|
||||
StorageStep(),
|
||||
PermissionStep(),
|
||||
@ -42,7 +43,7 @@ fun OnboardingScreen(
|
||||
}
|
||||
val isLastStep = currentStep == steps.lastIndex
|
||||
|
||||
BackHandler(enabled = currentStep != 0, onBack = { currentStep-- })
|
||||
BackHandler(enabled = currentStep != 1, onBack = { currentStep-- })
|
||||
|
||||
InfoScreen(
|
||||
icon = Icons.Outlined.RocketLaunch,
|
||||
|
Loading…
Reference in New Issue
Block a user