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 38c3137c..33a60a53 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 @@ -24,8 +24,8 @@ import com.wap.designsystem.WappTheme import com.wap.wapp.core.designresource.R.drawable import com.wap.wapp.core.designresource.R.string import com.wap.wapp.feature.profile.component.WappProfileCard -import com.wap.wapp.feature.profile.screen.GuestScreen -import com.wap.wapp.feature.profile.screen.UserScreen +import com.wap.wapp.feature.profile.screen.GuestProfile +import com.wap.wapp.feature.profile.screen.UserProfile @Composable internal fun ProfileRoute( @@ -95,7 +95,7 @@ internal fun ProfileScreen( userName = "$userName 님", ) - UserScreen(eventsState = eventsState) + UserProfile(eventsState = eventsState) } Role.NORMAL -> { @@ -113,7 +113,7 @@ internal fun ProfileScreen( userName = "$userName 님", ) - UserScreen(eventsState = eventsState) + UserProfile(eventsState = eventsState) } Role.GUEST -> { @@ -131,7 +131,7 @@ internal fun ProfileScreen( userName = stringResource(id = R.string.non_user), ) - GuestScreen(navigateToSignInScreen = navigateToSignInScreen) + GuestProfile(navigateToSignInScreen = navigateToSignInScreen) } } } diff --git a/feature/profile/src/main/java/com/wap/wapp/feature/profile/screen/GuestScreen.kt b/feature/profile/src/main/java/com/wap/wapp/feature/profile/screen/GuestProfile.kt similarity index 97% rename from feature/profile/src/main/java/com/wap/wapp/feature/profile/screen/GuestScreen.kt rename to feature/profile/src/main/java/com/wap/wapp/feature/profile/screen/GuestProfile.kt index baec66d0..54c1f9bf 100644 --- a/feature/profile/src/main/java/com/wap/wapp/feature/profile/screen/GuestScreen.kt +++ b/feature/profile/src/main/java/com/wap/wapp/feature/profile/screen/GuestProfile.kt @@ -22,7 +22,7 @@ import com.wap.designsystem.WappTheme import com.wap.wapp.feature.profile.R @Composable -internal fun GuestScreen(navigateToSignInScreen: () -> Unit) { +internal fun GuestProfile(navigateToSignInScreen: () -> Unit) { Text( text = SpannableGuestText(), color = WappTheme.colors.white, diff --git a/feature/profile/src/main/java/com/wap/wapp/feature/profile/screen/UserScreen.kt b/feature/profile/src/main/java/com/wap/wapp/feature/profile/screen/UserProfile.kt similarity index 98% rename from feature/profile/src/main/java/com/wap/wapp/feature/profile/screen/UserScreen.kt rename to feature/profile/src/main/java/com/wap/wapp/feature/profile/screen/UserProfile.kt index 3bfece2d..e46d8e9f 100644 --- a/feature/profile/src/main/java/com/wap/wapp/feature/profile/screen/UserScreen.kt +++ b/feature/profile/src/main/java/com/wap/wapp/feature/profile/screen/UserProfile.kt @@ -33,7 +33,7 @@ import com.wap.wapp.feature.profile.component.WappAttendacneRow import com.wap.wapp.feature.profile.component.WappSurveyHistoryRow @Composable -internal fun UserScreen(eventsState: ProfileViewModel.EventsState) { +internal fun UserProfile(eventsState: ProfileViewModel.EventsState) { Column(modifier = Modifier.padding(horizontal = 10.dp)) { handleMonthEventsState(eventsState = eventsState)