Skip to content

Commit

Permalink
Fix the click area of the notification banner
Browse files Browse the repository at this point in the history
  • Loading branch information
Pururun committed Sep 8, 2023
1 parent 350719c commit 5041947
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -166,13 +166,13 @@ private fun NotificationBanner(
modifier =
Modifier.fillMaxWidth()
.background(color = MaterialTheme.colorScheme.background)
.then(onClick?.let { Modifier.clickable(onClick = onClick) } ?: Modifier)
.padding(
start = Dimens.notificationBannerStartPadding,
end = Dimens.notificationBannerEndPadding,
top = Dimens.smallPadding,
bottom = Dimens.smallPadding
)
.then(onClick?.let { Modifier.clickable(onClick = onClick) } ?: Modifier)
.animateContentSize()
.testTag(NOTIFICATION_BANNER)
) {
Expand Down

0 comments on commit 5041947

Please sign in to comment.