Commit a005542 1 parent e332f0d commit a005542 Copy full SHA for a005542
File tree 3 files changed +13
-6
lines changed
core/ui/src/main/kotlin/ru/tech/imageresizershrinker/core/ui/widget/image
feature/media-picker/src/main/java/ru/tech/imageresizershrinker/feature/media_picker/presentation/components
3 files changed +13
-6
lines changed Original file line number Diff line number Diff line change @@ -128,6 +128,13 @@ dependencies {
128
128
implementation(libs.bouncycastle.provider)
129
129
}
130
130
131
+ allprojects {
132
+ configurations.all {
133
+ resolutionStrategy.dependencySubstitution {
134
+ substitute(module(" com.caverock:androidsvg-aar:1.4" )).using(module(" com.github.deckerst:androidsvg:cc9d59a88f" ))
135
+ }
136
+ }
137
+ }
131
138
132
139
afterEvaluate {
133
140
android.productFlavors.forEach { flavor ->
Original file line number Diff line number Diff line change @@ -190,9 +190,6 @@ fun ImagePager(
190
190
Box (
191
191
modifier = Modifier
192
192
.fillMaxSize()
193
- .background(
194
- MaterialTheme .colorScheme.scrim.copy(alpha = 0.6f * progress)
195
- )
196
193
.withLayoutCorners { corners ->
197
194
graphicsLayer {
198
195
scaleX = scale
@@ -201,6 +198,9 @@ fun ImagePager(
201
198
clip = true
202
199
}
203
200
}
201
+ .background(
202
+ MaterialTheme .colorScheme.scrim.copy(alpha = 0.6f * progress)
203
+ )
204
204
) {
205
205
val moreThanOneUri = (uris?.size ? : 0 ) > 1
206
206
Original file line number Diff line number Diff line change @@ -185,9 +185,6 @@ internal fun MediaImagePager(
185
185
Box (
186
186
modifier = Modifier
187
187
.fillMaxSize()
188
- .background(
189
- MaterialTheme .colorScheme.scrim.copy(alpha = 0.6f * progress)
190
- )
191
188
.withLayoutCorners { corners ->
192
189
graphicsLayer {
193
190
scaleX = scale
@@ -196,6 +193,9 @@ internal fun MediaImagePager(
196
193
clip = true
197
194
}
198
195
}
196
+ .background(
197
+ MaterialTheme .colorScheme.scrim.copy(alpha = 0.6f * progress)
198
+ )
199
199
) {
200
200
val moreThanOneUri = media.size > 1
201
201
val currentMedia = media.getOrNull(pagerState.currentPage)
You can’t perform that action at this time.
0 commit comments