Skip to content

Commit

Permalink
Use surface onclick for open source card
Browse files Browse the repository at this point in the history
  • Loading branch information
msasikanth committed Feb 5, 2024
1 parent 747362c commit c8e1de5
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -246,7 +246,8 @@ private fun OpenSource(openLink: () -> Unit) {
Surface(
color = AppTheme.colorScheme.tintedSurface,
shape = MaterialTheme.shapes.extraLarge,
modifier = Modifier.fillMaxWidth().padding(16.dp).clickable { openLink() }
modifier = Modifier.fillMaxWidth().padding(16.dp),
onClick = { openLink() }
) {
Column(horizontalAlignment = Alignment.CenterHorizontally, modifier = Modifier.padding(16.dp)) {
Icon(
Expand Down

0 comments on commit c8e1de5

Please sign in to comment.