Skip to content

Commit

Permalink
#11 프로필 & 좋아요 리스트 페이지 UI 수정 & 리팩토링
Browse files Browse the repository at this point in the history
  • Loading branch information
seoyeonsw committed Nov 6, 2024
1 parent 41f8808 commit 78fced6
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 22 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -57,15 +57,6 @@ fun ProfileLikeListRoute(
val babsangListViewModel: BabsangListViewModel = hiltViewModel()
ProfileLikeListScreen(
navigator = navigator, // navController 대신 navigator 전달
data = BabsangListEntity(
id = 1,
avatar = "",
name = "송이네 밥상",
codeName = "경양식/일식",
address = "서울특별시 용산구 청파동 11",
phone = "02-210-0220",
favorite = true
),
onBackClick = { navigator.navigateBack() },
babsangListViewModel = babsangListViewModel
)
Expand All @@ -75,7 +66,6 @@ fun ProfileLikeListRoute(
@Composable
fun ProfileLikeListScreen(
navigator: ProfileNavigator,
data: BabsangListEntity,
onBackClick: () -> Unit = {},
babsangListViewModel: BabsangListViewModel
) {
Expand Down Expand Up @@ -162,15 +152,6 @@ fun ProfileLikeListScreenPreview() {
AlddeulBabsangTheme {
ProfileLikeListScreen(
navigator = navigator,
data = BabsangListEntity(
id = 1,
avatar = "",
name = "송이네 밥상",
codeName = "경양식/일식",
address = "서울특별시 용산구 청파동 11",
phone = "02-210-0220",
favorite = true
),
onBackClick = { },
babsangListViewModel = babsangListViewModel
)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,7 @@ fun ProfileScreen(

Column(
modifier = Modifier
.height(200.dp)
.height(240.dp)
.padding(horizontal = 30.dp)
) {
Text(
Expand Down Expand Up @@ -182,7 +182,7 @@ fun ProfileScreen(
onClick = {}
)

Spacer(modifier = Modifier.height(20.dp))
Spacer(modifier = Modifier.height(30.dp))

HorizontalDivider(
modifier = Modifier
Expand All @@ -196,7 +196,7 @@ fun ProfileScreen(

Column(
modifier = Modifier
.height(200.dp)
.height(220.dp)
.padding(horizontal = 30.dp)
) {
Text(
Expand Down

0 comments on commit 78fced6

Please sign in to comment.