diff --git a/core/ui/src/commonMain/kotlin/io/github/droidkaigi/confsched/ui/component/TimetableItemCard.kt b/core/ui/src/commonMain/kotlin/io/github/droidkaigi/confsched/ui/component/TimetableItemCard.kt index 4bc493fb1..9972f424b 100644 --- a/core/ui/src/commonMain/kotlin/io/github/droidkaigi/confsched/ui/component/TimetableItemCard.kt +++ b/core/ui/src/commonMain/kotlin/io/github/droidkaigi/confsched/ui/component/TimetableItemCard.kt @@ -52,10 +52,12 @@ fun TimetableItemCard( ProvideRoomTheme(timetableItem.room.getThemeKey()) { Column( modifier = modifier + .testTag(TimetableItemCardTestTag) .border( border = BorderStroke(width = 1.dp, color = MaterialTheme.colorScheme.outlineVariant), shape = RoundedCornerShape(5.dp), ) + .clickable { onTimetableItemClick(timetableItem) } .padding(15.dp), ) { Box { @@ -87,8 +89,7 @@ fun TimetableItemCard( fontSize = 24.sp, modifier = Modifier .testTag(TimetableItemCardTestTag) - .padding(bottom = 5.dp) - .clickable { onTimetableItemClick(timetableItem) }, + .padding(bottom = 5.dp), ) timetableItem.speakers.forEach { speaker -> Row {