File tree 4 files changed +5
-1
lines changed
java/com/example/jetsnack/ui/components
buildSrc/src/main/java/com/example/jetsnack/buildsrc
4 files changed +5
-1
lines changed Original file line number Diff line number Diff line change @@ -51,6 +51,7 @@ import androidx.compose.ui.text.style.TextOverflow
51
51
import androidx.compose.ui.tooling.preview.Preview
52
52
import androidx.compose.ui.unit.Dp
53
53
import androidx.compose.ui.unit.dp
54
+ import com.example.jetsnack.R
54
55
import com.example.jetsnack.model.CollectionType
55
56
import com.example.jetsnack.model.Snack
56
57
import com.example.jetsnack.model.SnackCollection
@@ -281,6 +282,7 @@ fun SnackImage(
281
282
CoilImage (
282
283
data = imageUrl,
283
284
contentDescription = contentDescription,
285
+ previewPlaceholder = R .drawable.placeholder,
284
286
contentScale = ContentScale .Crop ,
285
287
modifier = Modifier .fillMaxSize()
286
288
)
Original file line number Diff line number Diff line change @@ -40,6 +40,8 @@ subprojects {
40
40
41
41
if (! Libs.AndroidX.Compose . snapshot. isEmpty()) {
42
42
maven { url " https://androidx.dev/snapshots/builds/${ Libs.AndroidX.Compose.snapshot} /artifacts/repository/" }
43
+ }
44
+ if (Libs.Accompanist . version. endsWith(" SNAPSHOT" )) {
43
45
maven { url ' https://oss.sonatype.org/content/repositories/snapshots/' }
44
46
}
45
47
}
Original file line number Diff line number Diff line change @@ -24,7 +24,7 @@ object Libs {
24
24
const val androidGradlePlugin = " com.android.tools.build:gradle:7.0.0-alpha11"
25
25
26
26
object Accompanist {
27
- private const val version = " 0.7.0 "
27
+ const val version = " 0.7.1-SNAPSHOT "
28
28
const val coil = " com.google.accompanist:accompanist-coil:$version "
29
29
const val insets = " com.google.accompanist:accompanist-insets:$version "
30
30
}
You can’t perform that action at this time.
0 commit comments