Skip to content

Commit

Permalink
Update Gravatar to 2.0.0-rc3
Browse files Browse the repository at this point in the history
  • Loading branch information
AdamGrzybkowski committed Oct 18, 2024
1 parent ac70b6d commit 430296a
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,11 @@ object AvatarHelper {
) {
val avatarSize = fragment.resources.getDimensionPixelSize(R.dimen.avatar_sz_login)
val avatarUrl = email?.let { AvatarUrl(Email(email),
AvatarQueryOptions(preferredSize = avatarSize, defaultAvatarOption = Status404)).url().toString() }
AvatarQueryOptions {
preferredSize = avatarSize
defaultAvatarOption = Status404
}
).url().toString() }
loadAvatarFromUrl(fragment, avatarUrl, avatarView, listener)
}

Expand Down
2 changes: 1 addition & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ ext {
wordpressLintVersion = '2.1.0'
wordpressUtilsVersion = '3.5.0'
wordpressFluxCVersion = 'trunk-863f213e0e3a7a4322032e8e8c57a99f77bb48ec'
gravatarSdkVersion = '0.2.0'
gravatarSdkVersion = '2.0.0-rc3'

// main
androidxAppCompatVersion = '1.6.1'
Expand Down

0 comments on commit 430296a

Please sign in to comment.