Skip to content

Commit

Permalink
refactor/#48 : 불필요한 크기 정의 코드 제거
Browse files Browse the repository at this point in the history
  • Loading branch information
BEEEAM-J committed Dec 13, 2023
1 parent 2b22f9d commit 70a0065
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 10 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ import androidx.compose.foundation.layout.fillMaxWidth
import androidx.compose.foundation.layout.height
import androidx.compose.foundation.layout.padding
import androidx.compose.foundation.layout.size
import androidx.compose.foundation.layout.wrapContentHeight
import androidx.compose.material3.Icon
import androidx.compose.material3.Text
import androidx.compose.runtime.Composable
Expand Down Expand Up @@ -51,9 +50,7 @@ fun SuwikiAlignContainer(
style = SuwikiTheme.typography.body2,
modifier = Modifier
.align(Alignment.CenterStart)
.padding(start = 24.dp, end = 52.dp)
.fillMaxWidth()
.wrapContentHeight(),
.padding(start = 24.dp, end = 52.dp),
)
if (isChecked) {
Icon(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,15 +33,11 @@ fun SuwikiFilterButton(
) {
Row(
verticalAlignment = Alignment.CenterVertically,
modifier = Modifier
.wrapContentHeight(),
) {
Text(
text = text,
style = SuwikiTheme.typography.header6,
color = Primary,
modifier = Modifier
.wrapContentHeight(),
)
Icon(
painter = painterResource(id = R.drawable.ic_filter_arrow_down),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -74,8 +74,6 @@ fun SuwikiFilterContainer(
text = text,
style = SuwikiTheme.typography.body2,
color = textColor,
modifier = Modifier
.wrapContentHeight(),
)
}
}
Expand Down

0 comments on commit 70a0065

Please sign in to comment.