Skip to content

Commit 4ddf5a8

Browse files
committed
chore: implement clickable alpha
1 parent b2a315b commit 4ddf5a8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

app/src/main/java/to/bitkit/ui/screens/wallets/activity/DateRangeSelectorSheet.kt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@ import androidx.compose.animation.core.Spring
55
import androidx.compose.animation.core.spring
66
import androidx.compose.animation.core.tween
77
import androidx.compose.foundation.background
8-
import androidx.compose.foundation.clickable
98
import androidx.compose.foundation.gestures.detectHorizontalDragGestures
109
import androidx.compose.foundation.layout.Arrangement
1110
import androidx.compose.foundation.layout.Box
@@ -74,6 +73,7 @@ import to.bitkit.ui.components.SheetSize
7473
import to.bitkit.ui.components.VerticalSpacer
7574
import to.bitkit.ui.scaffold.SheetTopBar
7675
import to.bitkit.ui.shared.modifiers.sheetHeight
76+
import to.bitkit.ui.shared.util.clickableAlpha
7777
import to.bitkit.ui.shared.util.gradientBackground
7878
import to.bitkit.ui.theme.AppThemeSurface
7979
import to.bitkit.ui.theme.Colors
@@ -527,7 +527,7 @@ private fun CalendarDayView(
527527
contentAlignment = Alignment.Center,
528528
modifier = modifier
529529
.aspectRatio(DAY_ASPECT_RATIO)
530-
.clickable(onClick = onClick)
530+
.clickableAlpha(onClick = onClick)
531531
.testTag(if (isToday) "Today" else "Day-${date.dayOfMonth}")
532532
) {
533533
// Background for range selection

0 commit comments

Comments
 (0)