From 990a776328f1c33cfae0bcb4021c63c653687db3 Mon Sep 17 00:00:00 2001 From: LEE YOU BIN Date: Wed, 4 Sep 2024 07:32:11 +0900 Subject: [PATCH] =?UTF-8?q?[FEAT/#218]=20=ED=95=84=ED=84=B0=EB=A7=81=20?= =?UTF-8?q?=EB=B2=84=ED=8A=BC=20=EB=A1=9C=EC=A7=81=20=EC=88=98=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../core/designsystem/component/button/FilteringButton.kt | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/core/src/main/java/com/terning/core/designsystem/component/button/FilteringButton.kt b/core/src/main/java/com/terning/core/designsystem/component/button/FilteringButton.kt index f0c50d820..bc0ca38db 100644 --- a/core/src/main/java/com/terning/core/designsystem/component/button/FilteringButton.kt +++ b/core/src/main/java/com/terning/core/designsystem/component/button/FilteringButton.kt @@ -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