diff --git a/composeApp/src/commonMain/kotlin/dev/datlag/aniflow/ui/navigation/screen/initial/InitialScreenComponent.kt b/composeApp/src/commonMain/kotlin/dev/datlag/aniflow/ui/navigation/screen/initial/InitialScreenComponent.kt index 5e2ae6b..d5fea3f 100644 --- a/composeApp/src/commonMain/kotlin/dev/datlag/aniflow/ui/navigation/screen/initial/InitialScreenComponent.kt +++ b/composeApp/src/commonMain/kotlin/dev/datlag/aniflow/ui/navigation/screen/initial/InitialScreenComponent.kt @@ -1,6 +1,7 @@ package dev.datlag.aniflow.ui.navigation.screen.initial import androidx.compose.material.icons.Icons +import androidx.compose.material.icons.filled.AccountCircle import androidx.compose.material.icons.filled.Home import androidx.compose.material.icons.filled.Settings import androidx.compose.runtime.Composable @@ -31,7 +32,7 @@ class InitialScreenComponent( ), InitialComponent.PagerItem( label = SharedRes.strings.settings, - icon = Icons.Default.Settings + icon = Icons.Filled.AccountCircle ) ) diff --git a/composeApp/src/commonMain/kotlin/dev/datlag/aniflow/ui/navigation/screen/initial/settings/component/UserSection.kt b/composeApp/src/commonMain/kotlin/dev/datlag/aniflow/ui/navigation/screen/initial/settings/component/UserSection.kt index 8bf7c20..5f7a5a7 100644 --- a/composeApp/src/commonMain/kotlin/dev/datlag/aniflow/ui/navigation/screen/initial/settings/component/UserSection.kt +++ b/composeApp/src/commonMain/kotlin/dev/datlag/aniflow/ui/navigation/screen/initial/settings/component/UserSection.kt @@ -26,6 +26,7 @@ import dev.datlag.aniflow.other.UserHelper import dev.datlag.tooling.compose.onClick import dev.datlag.tooling.decompose.lifecycle.collectAsStateWithLifecycle import kotlinx.coroutines.flow.Flow +import dev.icerock.moko.resources.compose.stringResource import dev.icerock.moko.resources.compose.painterResource import org.kodein.di.instance @@ -61,7 +62,7 @@ fun UserSection( alignment = Alignment.Center ) Text( - text = user?.name ?: "Settings", + text = user?.name ?: stringResource(SharedRes.strings.settings), style = MaterialTheme.typography.headlineMedium, fontWeight = FontWeight.Bold )