We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 521a042 commit 8f4fbdaCopy full SHA for 8f4fbda
feature/home/src/main/java/com/yapp/alarm/component/AlarmListItem.kt
@@ -163,6 +163,8 @@ internal fun AlarmListItem(
163
color = OrbitTheme.colors.gray_800,
164
),
165
onLongClick = {
166
+ if (selectable) return@combinedClickable
167
+
168
val minRequiredSpace = itemSize.height + with(density) { 42.dp.toPx() }
169
val adjustedY = if (itemPosition.second + minRequiredSpace > screenHeightPx) {
170
screenHeightPx - minRequiredSpace
0 commit comments