Skip to content

Commit

Permalink
change ui
Browse files Browse the repository at this point in the history
  • Loading branch information
DatL4g committed May 3, 2024
1 parent b1543e3 commit 6c56fdc
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
@@ -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
Expand Down Expand Up @@ -31,7 +32,7 @@ class InitialScreenComponent(
),
InitialComponent.PagerItem(
label = SharedRes.strings.settings,
icon = Icons.Default.Settings
icon = Icons.Filled.AccountCircle
)
)

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down Expand Up @@ -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
)
Expand Down

0 comments on commit 6c56fdc

Please sign in to comment.