TP-52884 | Bump app.cash.paparazzi from 1.3.1 to 1.3.3 (#370)
Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Shivam Goyal <shivam.goyal@navi.com>
This commit is contained in:
20
build.gradle
20
build.gradle
@@ -39,3 +39,23 @@ allprojects {
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
subprojects {
|
||||
plugins.withId("app.cash.paparazzi") {
|
||||
// Defer until afterEvaluate so that testImplementation is created by Android plugin.
|
||||
afterEvaluate {
|
||||
dependencies.constraints {
|
||||
add("testImplementation", "com.google.guava:guava") {
|
||||
attributes {
|
||||
attribute(
|
||||
TargetJvmEnvironment.TARGET_JVM_ENVIRONMENT_ATTRIBUTE,
|
||||
objects.named(TargetJvmEnvironment, TargetJvmEnvironment.STANDARD_JVM)
|
||||
)
|
||||
}
|
||||
because("LayoutLib and sdk-common depend on Guava's -jre published variant." +
|
||||
"See https://github.com/cashapp/paparazzi/issues/906.")
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -21,5 +21,4 @@ kotlin.code.style=official
|
||||
# resources declared in the library itself and none from the library's dependencies,
|
||||
# thereby reducing the size of the R class for that library
|
||||
android.nonTransitiveRClass=true
|
||||
android.defaults.buildfeatures.buildconfig=true
|
||||
android.nonFinalResIds=false
|
||||
@@ -29,7 +29,7 @@ mvel2 = "2.4.15.Final"
|
||||
navi-alfred = "1.0.20"
|
||||
navigation-compose = "2.6.0"
|
||||
okhttp-bom = "4.12.0"
|
||||
paparazzi = "1.3.1"
|
||||
paparazzi = "1.3.3"
|
||||
retrofit = "2.9.0"
|
||||
room = "2.5.2"
|
||||
spotless = "6.25.0"
|
||||
|
||||
@@ -125,9 +125,10 @@ class ImageRenderer : Renderer<ImageProperty> {
|
||||
rootView
|
||||
)
|
||||
val uiTronProvider = remember { UiTronSdkManager.getDependencyProvider() }
|
||||
val isImagePresentLocally by remember(uiTronImageData?.iconUrl) {
|
||||
mutableStateOf(uiTronProvider.getIconResourceId(uiTronImageData?.iconUrl))
|
||||
}
|
||||
val isImagePresentLocally by
|
||||
remember(uiTronImageData?.iconUrl) {
|
||||
mutableStateOf(uiTronProvider.getIconResourceId(uiTronImageData?.iconUrl))
|
||||
}
|
||||
isImagePresentLocally?.let {
|
||||
ImageProvider(
|
||||
drawableResourceId = it,
|
||||
|
||||
Reference in New Issue
Block a user