Skip to content

Commit

Permalink
Show all avatars in the Profile card regardless of the rating (#558)
Browse files Browse the repository at this point in the history
  • Loading branch information
AdamGrzybkowski authored Jan 27, 2025
1 parent 2e8294d commit a3fc077
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ import androidx.compose.ui.platform.LocalDensity
import androidx.compose.ui.tooling.preview.Preview
import androidx.compose.ui.unit.dp
import com.gravatar.AvatarQueryOptions
import com.gravatar.ImageRating
import com.gravatar.extensions.avatarUrl
import com.gravatar.extensions.defaultProfile
import com.gravatar.restapi.models.Profile
Expand Down Expand Up @@ -50,6 +51,7 @@ internal fun ProfileCard(
avatarUrl(
AvatarQueryOptions {
preferredSize = sizePx
rating = ImageRating.X
},
).url(avatarCacheBuster).toString()
},
Expand Down

0 comments on commit a3fc077

Please sign in to comment.