diff --git a/feature/profile/src/main/java/com/wap/wapp/feature/profile/ProfileScreen.kt b/feature/profile/src/main/java/com/wap/wapp/feature/profile/ProfileScreen.kt index 6eb2a8c3..8965dacf 100644 --- a/feature/profile/src/main/java/com/wap/wapp/feature/profile/ProfileScreen.kt +++ b/feature/profile/src/main/java/com/wap/wapp/feature/profile/ProfileScreen.kt @@ -48,6 +48,7 @@ internal fun ProfileRoute( @Composable internal fun ProfileScreen( role: Role = Role.GUEST, + userName: String = "", navigateToProfileSetting: () -> Unit, navigateToSignInScreen: () -> Unit, ) { @@ -80,7 +81,7 @@ internal fun ProfileScreen( ) } - WappProfileCard(role = role, userName = "태규") + WappProfileCard(role = role, userName = userName) if (role == Role.GUEST) { GuestModeScreen(navigateToSignInScreen = navigateToSignInScreen) @@ -113,7 +114,7 @@ private fun GuestModeScreen(navigateToSignInScreen: () -> Unit) { .clickable { navigateToSignInScreen() }, ) { Text( - text = "로그인 하러 가기", + text = stringResource(id = R.string.navigate_to_login), style = WappTheme.typography.contentMedium, color = WappTheme.colors.white, textAlign = TextAlign.Center, diff --git a/feature/profile/src/main/res/values/strings.xml b/feature/profile/src/main/res/values/strings.xml index 6f29391c..20a0dc83 100644 --- a/feature/profile/src/main/res/values/strings.xml +++ b/feature/profile/src/main/res/values/strings.xml @@ -16,4 +16,5 @@ FAQ 약관 및 정책 개인정보 처리 방침 + 로그인 하러 가기