Skip to content

Commit

Permalink
[FEAT/#218] 필터링 버튼 로직 수정
Browse files Browse the repository at this point in the history
  • Loading branch information
leeeyubin committed Sep 3, 2024
1 parent b7d263c commit 990a776
Showing 1 changed file with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -58,8 +58,9 @@ fun FilteringButton(
val isPressed by interactionSource.collectIsPressedAsState()
val backgroundColor = White
val textColor = when {
isSelected -> TerningMain
else -> Grey375
!isSelected -> Grey375
isPressed -> Grey375
else -> TerningMain
}
val borderColor = when {
!isSelected && !isPressed -> Grey150
Expand Down

0 comments on commit 990a776

Please sign in to comment.