Skip to content

Commit

Permalink
[REFACTOR] #63 : 프로필 더 보기 화면 상단 바 추가
Browse files Browse the repository at this point in the history
  • Loading branch information
tgyuuAn committed Dec 27, 2023
1 parent 5aed89e commit eefc03e
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@ fun WappTopBar(
contentDescription = stringResource(leftButtonDescriptionRes),
tint = WappTheme.colors.white,
modifier = Modifier
.padding(start = 10.dp)
.size(20.dp)
.clickable { onClickLeftButton() }
.align(Alignment.CenterStart),
Expand All @@ -63,6 +64,7 @@ fun WappTopBar(
contentDescription = stringResource(rightButtonDescriptionRes),
tint = WappTheme.colors.white,
modifier = Modifier
.padding(end = 10.dp)
.size(20.dp)
.clickable { onClickRightButton() }
.align(Alignment.CenterEnd),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,9 @@ import androidx.compose.ui.unit.dp
import androidx.hilt.navigation.compose.hiltViewModel
import com.wap.designsystem.WappTheme
import com.wap.designsystem.component.WappRowBar
import com.wap.designsystem.component.WappTopBar
import com.wap.wapp.core.designresource.R
import com.wap.wapp.feature.profile.R.string

@Composable
internal fun ProfileSettingRoute(
Expand All @@ -45,6 +47,13 @@ internal fun ProfileSettingScreen(
.fillMaxSize()
.background(color = WappTheme.colors.backgroundBlack),
) {
WappTopBar(
titleRes = string.more,
showLeftButton = true,
onClickLeftButton = {},
modifier = Modifier.padding(top = 20.dp),
)

Row(
horizontalArrangement = Arrangement.spacedBy(15.dp),
modifier = Modifier.padding(start = 15.dp, top = 20.dp, bottom = 25.dp),
Expand Down

0 comments on commit eefc03e

Please sign in to comment.