Skip to content

Commit

Permalink
update to compose beta03
Browse files Browse the repository at this point in the history
  • Loading branch information
joaquim-verges committed Mar 27, 2021
1 parent a1b3e64 commit ecb5c60
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 9 deletions.
2 changes: 1 addition & 1 deletion buildSrc/src/main/kotlin/Deps.kt
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ object Deps {
"androidx.compose.foundation:foundation:${Versions.compose}",
"androidx.compose.animation:animation:${Versions.compose}",
"androidx.compose.ui:ui-tooling:${Versions.compose}",
"androidx.constraintlayout:constraintlayout-compose:${Versions.compose_constraing_layout}",
"androidx.constraintlayout:constraintlayout-compose:${Versions.compose_constraint_layout}",
"androidx.activity:activity-compose:${Versions.compose_activity}"
)

Expand Down
8 changes: 4 additions & 4 deletions buildSrc/src/main/kotlin/Versions.kt
Original file line number Diff line number Diff line change
Expand Up @@ -27,10 +27,10 @@ object Versions {
const val constraint_layout = "2.0.0"
const val material_lib = "1.2.0-alpha05"
const val navigation = "2.3.1"
const val compose = "1.0.0-beta02"
const val compose_activity = "1.3.0-alpha04"
const val compose_constraing_layout = "1.0.0-alpha04"
const val accompanist = "0.6.2"
const val compose = "1.0.0-beta03"
const val compose_activity = "1.3.0-alpha05"
const val compose_constraint_layout = "1.0.0-alpha05"
const val accompanist = "0.7.0"

// kotlin mpp
const val ktor = "1.4.2"
Expand Down
2 changes: 1 addition & 1 deletion samples/multiplatform_app/android/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -59,5 +59,5 @@ dependencies {

Deps.androidXUiDeps.forEach { implementation(it) }

implementation "dev.chrisbanes.accompanist:accompanist-coil:${Versions.accompanist}"
implementation "com.google.accompanist:accompanist-coil:${Versions.accompanist}"
}
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ package com.joaquimverges.kmp.news.android

import androidx.compose.foundation.background
import androidx.compose.foundation.clickable
import androidx.compose.foundation.gestures.scrollable
import androidx.compose.foundation.layout.*
import androidx.compose.foundation.rememberScrollState
import androidx.compose.foundation.verticalScroll
Expand All @@ -22,7 +21,7 @@ import com.joaquimverges.kmp.news.android.utils.Draggable
import com.joaquimverges.kmp.news.data.models.Article
import com.joaquimverges.kmp.news.data.models.ArticleSource
import com.joaquimverges.kmp.news.logic.ArticleDetailLogic
import dev.chrisbanes.accompanist.coil.CoilImage
import com.google.accompanist.coil.CoilImage

@Composable
fun ArticleDetailUi(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ import com.joaquimverges.kmp.news.data.models.Article
import com.joaquimverges.kmp.news.data.models.ArticleResponse
import com.joaquimverges.kmp.news.data.models.ArticleSource
import com.joaquimverges.kmp.news.logic.ArticleListLogic
import dev.chrisbanes.accompanist.coil.CoilImage
import com.google.accompanist.coil.CoilImage

@Composable
fun ArticleListUI(
Expand Down

0 comments on commit ecb5c60

Please sign in to comment.