Skip to content

Commit

Permalink
Merge pull request #295 from CookieySun/feature/entire_card_tappable
Browse files Browse the repository at this point in the history
Change transition area to cover entire card
  • Loading branch information
takahirom authored Aug 11, 2024
2 parents 9b090cf + e2adfaf commit 911e8b8
Showing 1 changed file with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down Expand Up @@ -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 {
Expand Down

0 comments on commit 911e8b8

Please sign in to comment.