diff --git a/app/src/main/kotlin/dev/teogor/ceres/feature/onboarding/OnboardingNavigation.kt b/app/src/main/kotlin/dev/teogor/ceres/feature/onboarding/OnboardingNavigation.kt index 17a8d6dc..3f3d7609 100644 --- a/app/src/main/kotlin/dev/teogor/ceres/feature/onboarding/OnboardingNavigation.kt +++ b/app/src/main/kotlin/dev/teogor/ceres/feature/onboarding/OnboardingNavigation.kt @@ -32,6 +32,8 @@ fun NavGraphBuilder.onboardingScreenNav( baseActions = baseActions, onboardingData = OnboardingScreenData( appName = "Ceres", + description = "Your Mobile framework", + getStartedButton = "GetStarted", supportEmail = "open-source@teogor.dev", privacyPolicyLink = "https://privacy.teogor.dev", termsOfServiceLink = "https://terms.teogor.dev", diff --git a/screen/ui/api/ui.api b/screen/ui/api/ui.api index eb78c484..22d27e87 100644 --- a/screen/ui/api/ui.api +++ b/screen/ui/api/ui.api @@ -221,20 +221,22 @@ public final class dev/teogor/ceres/screen/ui/onboarding/OnboardingRoute : dev/t public final class dev/teogor/ceres/screen/ui/onboarding/OnboardingScreenData { public static final field $stable I public fun ()V - public fun (Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/util/List;)V - public synthetic fun (Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/util/List;ILkotlin/jvm/internal/DefaultConstructorMarker;)V + public fun (Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/util/List;)V + public synthetic fun (Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/util/List;ILkotlin/jvm/internal/DefaultConstructorMarker;)V public final fun areAllPermissionsGranted ()Z public final fun component1 ()Ljava/lang/String; public final fun component2 ()Ljava/lang/String; public final fun component3 ()Ljava/lang/String; public final fun component4 ()Ljava/lang/String; public final fun component5 ()Ljava/lang/String; - public final fun component6 ()Ljava/util/List; - public final fun copy (Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/util/List;)Ldev/teogor/ceres/screen/ui/onboarding/OnboardingScreenData; - public static synthetic fun copy$default (Ldev/teogor/ceres/screen/ui/onboarding/OnboardingScreenData;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/util/List;ILjava/lang/Object;)Ldev/teogor/ceres/screen/ui/onboarding/OnboardingScreenData; + public final fun component6 ()Ljava/lang/String; + public final fun component7 ()Ljava/util/List; + public final fun copy (Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/util/List;)Ldev/teogor/ceres/screen/ui/onboarding/OnboardingScreenData; + public static synthetic fun copy$default (Ldev/teogor/ceres/screen/ui/onboarding/OnboardingScreenData;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/util/List;ILjava/lang/Object;)Ldev/teogor/ceres/screen/ui/onboarding/OnboardingScreenData; public fun equals (Ljava/lang/Object;)Z public final fun getAppName ()Ljava/lang/String; public final fun getDescription ()Ljava/lang/String; + public final fun getGetStartedButton ()Ljava/lang/String; public final fun getPermissionCategories ()Ljava/util/List; public final fun getPrivacyPolicyLink ()Ljava/lang/String; public final fun getSupportEmail ()Ljava/lang/String; @@ -314,13 +316,6 @@ public final class dev/teogor/ceres/screen/ui/onboarding/screens/ComposableSingl public final fun getLambda-3$ui_release ()Lkotlin/jvm/functions/Function3; } -public final class dev/teogor/ceres/screen/ui/onboarding/screens/ComposableSingletons$IntroScreenKt { - public static final field INSTANCE Ldev/teogor/ceres/screen/ui/onboarding/screens/ComposableSingletons$IntroScreenKt; - public static field lambda-1 Lkotlin/jvm/functions/Function3; - public fun ()V - public final fun getLambda-1$ui_release ()Lkotlin/jvm/functions/Function3; -} - public final class dev/teogor/ceres/screen/ui/onboarding/screens/ComposableSingletons$LegalScreenKt { public static final field INSTANCE Ldev/teogor/ceres/screen/ui/onboarding/screens/ComposableSingletons$LegalScreenKt; public static field lambda-1 Lkotlin/jvm/functions/Function3; diff --git a/screen/ui/src/main/kotlin/dev/teogor/ceres/screen/ui/onboarding/OnboardingScreenData.kt b/screen/ui/src/main/kotlin/dev/teogor/ceres/screen/ui/onboarding/OnboardingScreenData.kt index 5a1cf803..0c0ca2e1 100644 --- a/screen/ui/src/main/kotlin/dev/teogor/ceres/screen/ui/onboarding/OnboardingScreenData.kt +++ b/screen/ui/src/main/kotlin/dev/teogor/ceres/screen/ui/onboarding/OnboardingScreenData.kt @@ -25,6 +25,7 @@ data class OnboardingScreenData( val supportEmail: String = "%%SUPPORT_EMAIL%%", val privacyPolicyLink: String = "%%PRIVACY_POLICY_LINK%%", val termsOfServiceLink: String = "%%TERMS_OF_SERVICE_LINK%%", + val getStartedButton: String = "%%GET_STARTED%%", val permissionCategories: List = listOf(PermissionCategory()), ) { fun areAllPermissionsGranted(): Boolean { diff --git a/screen/ui/src/main/kotlin/dev/teogor/ceres/screen/ui/onboarding/screens/IntroScreen.kt b/screen/ui/src/main/kotlin/dev/teogor/ceres/screen/ui/onboarding/screens/IntroScreen.kt index 7b9f3ffe..6100a678 100644 --- a/screen/ui/src/main/kotlin/dev/teogor/ceres/screen/ui/onboarding/screens/IntroScreen.kt +++ b/screen/ui/src/main/kotlin/dev/teogor/ceres/screen/ui/onboarding/screens/IntroScreen.kt @@ -111,7 +111,7 @@ fun BoxScope.IntroScreen( modifier = Modifier.padding(bottom = 30.dp), ) { Text( - text = "Get started", + text = data.getStartedButton, modifier = Modifier.padding(end = 10.dp, start = 10.dp), ) }