@@ -11,13 +11,10 @@ import androidx.activity.ComponentActivity
1111import androidx.activity.OnBackPressedCallback
1212import androidx.activity.compose.setContent
1313import androidx.compose.animation.AnimatedContent
14- import androidx.compose.animation.AnimatedContentTransitionScope
1514import androidx.compose.animation.fadeIn
1615import androidx.compose.animation.fadeOut
1716import androidx.compose.animation.slideInHorizontally
18- import androidx.compose.animation.slideIntoContainer
1917import androidx.compose.animation.slideOutHorizontally
20- import androidx.compose.animation.slideOutOfContainer
2118import androidx.compose.animation.togetherWith
2219import androidx.compose.animation.core.tween
2320import androidx.compose.foundation.Image
@@ -223,8 +220,8 @@ fun DebloaterScreen(snackbarHostState: SnackbarHostState) {
223220 AnimatedContent (
224221 targetState = currentScreen,
225222 transitionSpec = {
226- (fadeIn(tween(300 )) + slideIntoContainer( AnimatedContentTransitionScope . SlideDirection . Left ) )
227- .togetherWith(fadeOut(tween(300 )) + slideOutOfContainer( AnimatedContentTransitionScope . SlideDirection . Right ) )
223+ (fadeIn(tween(300 )) + slideInHorizontally { it } )
224+ .togetherWith(fadeOut(tween(300 )) + slideOutHorizontally { - it } )
228225 },
229226 label = " screen_transition"
230227 ) { screen ->
@@ -449,7 +446,6 @@ fun OnboardingScreen(onComplete: () -> Unit) {
449446 ShizukuManager .requestPermissionAndBind()
450447 onComplete()
451448 }
452- }
453449 },
454450 enabled = if (currentStep == 1 ) hasConfirmedWarning else true
455451 ) {
0 commit comments