Skip to content

Commit

Permalink
#21 불필요한 Modiifer 주입 코드 제거
Browse files Browse the repository at this point in the history
  • Loading branch information
laco-dev committed Jul 7, 2023
1 parent 4fb619a commit 098c5cb
Showing 1 changed file with 2 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -58,10 +58,9 @@ private fun MainBottomBar(
tabs: List<MainTab>,
currentTab: MainTab,
onTabSelected: (MainTab) -> Unit,
modifier: Modifier = Modifier,
) {
Row(
modifier = modifier
modifier = Modifier
.navigationBarsPadding()
.padding(start = 8.dp, end = 8.dp, bottom = 28.dp)
.fillMaxWidth()
Expand Down Expand Up @@ -90,10 +89,9 @@ private fun RowScope.MainBottomBarItem(
selected: Boolean,
onClick: () -> Unit,
resId: Int,
modifier: Modifier = Modifier,
) {
Box(
modifier = modifier
modifier = Modifier
.weight(1f)
.fillMaxHeight()
.selectable(
Expand Down

0 comments on commit 098c5cb

Please sign in to comment.