Skip to content

Commit

Permalink
lower recipe quality
Browse files Browse the repository at this point in the history
  • Loading branch information
jan-tennert committed Aug 16, 2024
1 parent 2be0ec3 commit 9eca00f
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
)
Expand Down

0 comments on commit 9eca00f

Please sign in to comment.