Skip to content

Commit

Permalink
test: change clip in ErrorCard
Browse files Browse the repository at this point in the history
  • Loading branch information
kosenda committed Mar 10, 2024
1 parent 361da56 commit daeb426
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -10,13 +10,15 @@ import androidx.compose.foundation.layout.Row
import androidx.compose.foundation.layout.fillMaxWidth
import androidx.compose.foundation.layout.padding
import androidx.compose.foundation.layout.size
import androidx.compose.foundation.shape.CircleShape
import androidx.compose.material3.Card
import androidx.compose.material3.CardDefaults
import androidx.compose.material3.MaterialTheme
import androidx.compose.material3.Text
import androidx.compose.runtime.Composable
import androidx.compose.ui.Alignment
import androidx.compose.ui.Modifier
import androidx.compose.ui.draw.clip
import androidx.compose.ui.draw.scale
import androidx.compose.ui.graphics.ColorFilter
import androidx.compose.ui.layout.ContentScale
Expand Down Expand Up @@ -48,6 +50,7 @@ fun ErrorCard(
modifier = Modifier
.fillMaxWidth()
.padding(all = 16.dp)
.clip(CircleShape)
.scale(scale = buttonScaleState.animationScale.value)
.noRippleClickable(
interactionSource = buttonScaleState.interactionSource,
Expand Down

0 comments on commit daeb426

Please sign in to comment.