diff --git a/Core2/Onboarding/build.gradle.kts b/Core2/Onboarding/build.gradle.kts index c193cbf3a..29205fd7b 100644 --- a/Core2/Onboarding/build.gradle.kts +++ b/Core2/Onboarding/build.gradle.kts @@ -41,7 +41,6 @@ android { } dependencies { - implementation(core2.androidx.core.ktx) implementation(core2.androidx.material3.android) implementation(core2.androidx.runtime.android) diff --git a/Core2/Onboarding/src/main/java/com/infomaniak/library/onboarding/OnboardingScaffold.kt b/Core2/Onboarding/src/main/java/com/infomaniak/library/onboarding/OnboardingScaffold.kt index 9366a5054..33ca57cd0 100644 --- a/Core2/Onboarding/src/main/java/com/infomaniak/library/onboarding/OnboardingScaffold.kt +++ b/Core2/Onboarding/src/main/java/com/infomaniak/library/onboarding/OnboardingScaffold.kt @@ -110,7 +110,6 @@ data class OnboardingPage( val text: @Composable () -> Unit, ) - @Preview @Preview(device = "spec:parent=pixel_5,orientation=landscape") @Composable diff --git a/app/src/main/java/com/infomaniak/swisstransfer/ui/components/HighlightedText.kt b/app/src/main/java/com/infomaniak/swisstransfer/ui/components/HighlightedText.kt index f5d1b892e..414618e78 100644 --- a/app/src/main/java/com/infomaniak/swisstransfer/ui/components/HighlightedText.kt +++ b/app/src/main/java/com/infomaniak/swisstransfer/ui/components/HighlightedText.kt @@ -61,29 +61,6 @@ fun HighlightedText( horizontalPadding: Float = HORIZONTAL_PADDING, angleDegrees: Double = ROTATION_ANGLE_DEGREE, isHighlighted: () -> Boolean, -) { - HighlightedTextCore( - templateRes, - argumentRes, - style, - modifier, - verticalPadding, - horizontalPadding, - angleDegrees, - isHighlighted, - ) -} - -@Composable -private fun HighlightedTextCore( - templateRes: Int, - argumentRes: Int, - style: TextStyle, - modifier: Modifier, - verticalPadding: Float, - horizontalPadding: Float, - angleDegrees: Double, - isHighlighted: () -> Boolean, ) { val template = stringResource(templateRes) val argument = stringResource(argumentRes)