Skip to content

Commit

Permalink
build(deps): update provider sdk gradle to 1.1.2
Browse files Browse the repository at this point in the history
  • Loading branch information
rhenwinch committed Aug 28, 2024
1 parent fd5ff19 commit 282397f
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -37,12 +37,12 @@ internal fun AuthorCard(
Box(
modifier = modifier
.ifElse(
condition = author.githubLink != null,
condition = author.socialLink != null,
ifTrueModifier = Modifier.clickable(
interactionSource = interactionSource,
indication = null,
onClick = {
author.githubLink?.let(uriHandler::openUri)
author.socialLink?.let(uriHandler::openUri)
}
)
)
Expand All @@ -58,20 +58,20 @@ internal fun AuthorCard(
modifier = Modifier
.size(avatarSize)
.ifElse(
condition = author.githubLink != null,
condition = author.socialLink != null,
ifTrueModifier = Modifier.clickable(
interactionSource = interactionSource,
indication = rememberRipple(
bounded = false,
radius = avatarSize / 2
),
onClick = {
author.githubLink?.let(uriHandler::openUri)
author.socialLink?.let(uriHandler::openUri)
}
)
),
placeholderModifier = Modifier.fillMaxSize(),
urlImage = "${author.githubLink}.png",
urlImage = "${author.socialLink}.png",
placeholderId = UiCommonR.drawable.profile_placeholder,
contentDescId = UtilR.string.author_icon_content_desc,
)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ private fun AuthorsListPreview() {
authors = List(5) {
Author(
name = "Captain Jack Sparrow",
githubLink = "https://github.com/johndoe"
socialLink = "https://github.com/johndoe"
)
}
)
Expand Down
2 changes: 1 addition & 1 deletion gradle/libs.versions.toml
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ mockk = "1.13.8"
okhttp = "4.12.0"
palette = "1.0.0"
pauseCoroutine = "3959287e12"
providersGradle = "1.0.0"
providersGradle = "1.1.1"
retrofit = "2.9.0"
room = "2.6.1"
serialization = "1.6.0"
Expand Down

0 comments on commit 282397f

Please sign in to comment.