Skip to content

Commit

Permalink
bump compose and accompanist version.
Browse files Browse the repository at this point in the history
  • Loading branch information
Akashkamble committed Sep 9, 2020
1 parent 581d1cf commit e2a1c5e
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Newzz-Compose
News App built with JetPack Compose
News App built with JetPack Compose(v1.0.0-alpha02)

## Gif
![compose](https://user-images.githubusercontent.com/13314984/83972646-00b1ca80-a8ff-11ea-93b0-92daf03bc0a0.gif)
Expand Down
2 changes: 1 addition & 1 deletion app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ dependencies {
implementation 'androidx.browser:browser:1.3.0-alpha05'

/*---------------------CoilImageLoader------------------------------*/
implementation "dev.chrisbanes.accompanist:accompanist-coil:0.2.0"
implementation "dev.chrisbanes.accompanist:accompanist-coil:0.2.1"

/*----------------------------Moshi-------------------------------------*/
implementation 'com.squareup.moshi:moshi:1.9.1'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ import androidx.compose.ui.unit.dp
import com.akash.newzz_compose.R
import com.akash.newzz_compose.ui.style.NewzzTheme
import com.akash.newzz_compose.ui.style.titleColorDark
import dev.chrisbanes.accompanist.coil.CoilImage
import dev.chrisbanes.accompanist.coil.CoilImageWithCrossfade

/**
* Created by Akash on 29/08/20
Expand Down Expand Up @@ -62,7 +62,7 @@ fun RemoteImage(
color = Color.Transparent,
shape = shape
) {
CoilImage(
CoilImageWithCrossfade(
data = url,
modifier = modifier,
contentScale = contentScale,
Expand Down
2 changes: 1 addition & 1 deletion build.gradle
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
// Top-level build file where you can add configuration options common to all sub-projects/modules.
buildscript {
ext.kotlin_version = "1.4.0"
ext.compose_version = "1.0.0-alpha01"
ext.compose_version = "1.0.0-alpha02"
ext.coroutines_version = "1.3.9"
ext.hilt_version = "2.28-alpha"
ext.hilt_jetpack_config_version = "1.0.0-alpha02"
Expand Down

0 comments on commit e2a1c5e

Please sign in to comment.