Migrated to M3 (#754)

Signed-off-by: Arnau Mora <arnyminerz@proton.me>
This commit is contained in:
Arnau Mora 2024-05-02 11:08:37 +02:00 committed by GitHub
parent 2b2476b4bc
commit 99cf0eca7a
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -16,8 +16,8 @@ import androidx.compose.foundation.layout.fillMaxSize
import androidx.compose.foundation.layout.fillMaxWidth
import androidx.compose.foundation.layout.padding
import androidx.compose.foundation.layout.wrapContentHeight
import androidx.compose.material.MaterialTheme
import androidx.compose.material.Text
import androidx.compose.material3.MaterialTheme
import androidx.compose.material3.Text
import androidx.compose.runtime.Composable
import androidx.compose.ui.Alignment
import androidx.compose.ui.Modifier
@ -69,7 +69,7 @@ class WelcomePage: IntroPage {
Text(
text = stringResource(R.string.intro_slogan1),
color = Color.White,
style = MaterialTheme.typography.subtitle1.copy(fontSize = 34.sp),
style = MaterialTheme.typography.bodyMedium.copy(fontSize = 34.sp),
lineHeight = 38.sp,
textAlign = TextAlign.Center,
modifier = Modifier
@ -81,7 +81,7 @@ class WelcomePage: IntroPage {
Text(
text = stringResource(R.string.intro_slogan2),
color = Color.White,
style = MaterialTheme.typography.h5.copy(fontSize = 48.sp),
style = MaterialTheme.typography.labelLarge.copy(fontSize = 48.sp),
lineHeight = 52.sp,
textAlign = TextAlign.Center,
modifier = Modifier
@ -132,7 +132,7 @@ class WelcomePage: IntroPage {
Text(
text = stringResource(R.string.intro_slogan1),
color = Color.White,
style = MaterialTheme.typography.subtitle1.copy(fontSize = 34.sp),
style = MaterialTheme.typography.bodyMedium.copy(fontSize = 34.sp),
lineHeight = 38.sp,
textAlign = TextAlign.Center,
modifier = Modifier.fillMaxWidth()
@ -141,7 +141,7 @@ class WelcomePage: IntroPage {
Text(
text = stringResource(R.string.intro_slogan2),
color = Color.White,
style = MaterialTheme.typography.h5.copy(fontSize = 48.sp),
style = MaterialTheme.typography.labelLarge.copy(fontSize = 48.sp),
lineHeight = 52.sp,
textAlign = TextAlign.Center,
modifier = Modifier