From 9eca00f0bbf702a9ab535e58712c0df472e9a0d3 Mon Sep 17 00:00:00 2001 From: Jan Date: Fri, 16 Aug 2024 15:02:48 +0200 Subject: [PATCH] lower recipe quality --- .../jan/einkaufszettel/recipes/ui/components/RecipeCard.kt | 2 ++ 1 file changed, 2 insertions(+) diff --git a/composeApp/src/commonMain/kotlin/io/github/jan/einkaufszettel/recipes/ui/components/RecipeCard.kt b/composeApp/src/commonMain/kotlin/io/github/jan/einkaufszettel/recipes/ui/components/RecipeCard.kt index 301f3d4..5faf3e5 100644 --- a/composeApp/src/commonMain/kotlin/io/github/jan/einkaufszettel/recipes/ui/components/RecipeCard.kt +++ b/composeApp/src/commonMain/kotlin/io/github/jan/einkaufszettel/recipes/ui/components/RecipeCard.kt @@ -15,6 +15,7 @@ import androidx.compose.runtime.Composable import androidx.compose.ui.Alignment import androidx.compose.ui.Modifier import androidx.compose.ui.graphics.Color +import androidx.compose.ui.graphics.FilterQuality import androidx.compose.ui.layout.ContentScale import androidx.compose.ui.text.TextStyle import androidx.compose.ui.text.style.TextAlign @@ -88,6 +89,7 @@ private fun RecipeCardImage(imagePath: String?, text: String, modifier: Modifier .build() AsyncImage( model = request, + filterQuality = FilterQuality.None, contentDescription = text, contentScale = ContentScale.Crop )