Update image model url on the demo project

This commit is contained in:
skydoves 2021-12-02 12:13:20 +09:00
parent 2b055653e8
commit 3e072e96c0
No known key found for this signature in database
GPG key ID: D7662013FA1A5596

View file

@ -39,7 +39,6 @@ class MainActivity : ComponentActivity() {
setContent { setContent {
AndroidDeveloperRoadmapTheme { AndroidDeveloperRoadmapTheme {
Surface( Surface(
modifier = Modifier.fillMaxSize(),
color = MaterialTheme.colors.background color = MaterialTheme.colors.background
) { ) {
Roadmap() Roadmap()
@ -55,7 +54,7 @@ private fun Roadmap() {
modifier = Modifier.height(3200.dp) modifier = Modifier.height(3200.dp)
) { ) {
GlideImage( GlideImage(
imageModel = "https://user-images.githubusercontent.com/24237865/144011218-1d141580-0ef9-467d-854c-6f7786d7c823.png", imageModel = "https://user-images.githubusercontent.com/24237865/144350753-5a52e6e5-3517-476c-8e5c-adad919abe8e.png",
modifier = Modifier.fillMaxSize(), modifier = Modifier.fillMaxSize(),
previewPlaceholder = R.drawable.roadmap_preview, previewPlaceholder = R.drawable.roadmap_preview,
contentScale = ContentScale.Fit contentScale = ContentScale.Fit