Use MaterialTheme.shapes in more places

This commit is contained in:
arkon
2022-10-28 16:18:05 -04:00
parent 87391832ba
commit 401134fa8e
10 changed files with 13 additions and 21 deletions

View File

@@ -6,7 +6,6 @@ import androidx.compose.foundation.Image
import androidx.compose.foundation.layout.Box
import androidx.compose.foundation.layout.aspectRatio
import androidx.compose.foundation.layout.height
import androidx.compose.foundation.shape.RoundedCornerShape
import androidx.compose.material.icons.Icons
import androidx.compose.material.icons.filled.Dangerous
import androidx.compose.material.icons.filled.Warning
@@ -85,7 +84,7 @@ fun ExtensionIcon(
placeholder = ColorPainter(Color(0x1F888888)),
error = rememberResourceBitmapPainter(id = R.drawable.cover_error),
modifier = modifier
.clip(RoundedCornerShape(4.dp)),
.clip(MaterialTheme.shapes.extraSmall),
)
}
is Extension.Installed -> {