Skip to content

Commit

Permalink
Use RoundedCornerShape for retry button
Browse files Browse the repository at this point in the history
  • Loading branch information
nbradbury committed Oct 8, 2024
1 parent 8cda558 commit d1699b2
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ import androidx.compose.foundation.layout.padding
import androidx.compose.foundation.layout.size
import androidx.compose.foundation.rememberScrollState
import androidx.compose.foundation.shape.CircleShape
import androidx.compose.foundation.shape.RoundedCornerShape
import androidx.compose.foundation.verticalScroll
import androidx.compose.material.icons.Icons
import androidx.compose.material.icons.filled.Close
Expand Down Expand Up @@ -156,6 +157,7 @@ fun MessageView(
if (buttonRes != null && onButtonClick != null) {
Button(
modifier = Modifier.padding(top = 16.dp),
shape = RoundedCornerShape(2.dp),
onClick = onButtonClick,
) {
Text(
Expand Down

0 comments on commit d1699b2

Please sign in to comment.