Skip to content

Commit

Permalink
Update project
Browse files Browse the repository at this point in the history
  • Loading branch information
michaelbel committed Nov 17, 2024
1 parent dc7d3ee commit f66c001
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 15 deletions.
1 change: 0 additions & 1 deletion androidApp/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,6 @@ dependencies {
androidTestImplementation(libs.bundles.test.ext.junit.android)
androidTestImplementation(libs.bundles.benchmark.android)
debugImplementation(libs.bundles.leakcanary.android)
lintChecks(libs.lint.checks)
}

val hasGmsDebug = gradle.startParameter.taskNames.any { it.contains("GmsDebug", ignoreCase = true) }
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -45,9 +45,7 @@ internal fun MovieColumnDesktop(
var isNoImageVisible by remember { mutableStateOf(false) }

Column(
modifier = modifier
.fillMaxWidth()
.padding(horizontal = 16.dp)
modifier = modifier.fillMaxWidth()
) {
Box(
modifier = Modifier
Expand Down Expand Up @@ -81,7 +79,7 @@ internal fun MovieColumnDesktop(
text = movie.title,
modifier = Modifier
.fillMaxWidth()
.padding(vertical = 16.dp),
.padding(16.dp),
maxLines = 10,
overflow = TextOverflow.Ellipsis,
style = MaterialTheme.typography.bodyLarge.copy(MaterialTheme.colorScheme.onPrimaryContainer)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -46,9 +46,7 @@ internal fun MovieRowDesktop(
var isNoImageVisible by remember { mutableStateOf(false) }

Column(
modifier = modifier
.fillMaxWidth()
.padding(horizontal = 16.dp)
modifier = modifier.fillMaxWidth()
) {
Box(
modifier = Modifier
Expand Down Expand Up @@ -83,7 +81,7 @@ internal fun MovieRowDesktop(
text = movie.title,
modifier = Modifier
.fillMaxWidth()
.padding(top = 16.dp, bottom = 16.dp),
.padding(16.dp),
maxLines = maxLines,
overflow = TextOverflow.Ellipsis,
style = MaterialTheme.typography.bodyLarge.copy(MaterialTheme.colorScheme.onPrimaryContainer)
Expand Down
9 changes: 3 additions & 6 deletions gradle/libs.versions.toml
Original file line number Diff line number Diff line change
Expand Up @@ -58,13 +58,12 @@ jetbrains-androidx-core-bundle = "1.0.1"
detekt = "1.23.7"
spotless = "6.25.0"
coil = "2.7.0"
coil3 = "3.0.0-alpha08"
coil3 = "3.0.3"
okhttp = "4.12.0"
chucker = "4.0.0"
timber = "5.0.1"
javapoet = "1.13.0"
junit = "4.13.2"
lint-checks = "1.4.2"
palantir-git = "3.1.0"
flaker = "0.1.2"
ktor = "3.0.1"
Expand Down Expand Up @@ -141,7 +140,7 @@ jetbrains-androidx-lifecycle-viewmodel-compose = { module = "org.jetbrains.andro
jetbrains-androidx-core-bundle = { module = "org.jetbrains.androidx.core:core-bundle", version.ref = "jetbrains-androidx-core-bundle" }
coil-compose = { module = "io.coil-kt:coil-compose", version.ref = "coil" }
coil3-compose = { module = "io.coil-kt.coil3:coil-compose", version.ref = "coil3" }
coil3-network-ktor = { module = "io.coil-kt.coil3:coil-network-ktor", version.ref = "coil3" }
coil3-network-ktor3 = { module = "io.coil-kt.coil3:coil-network-ktor3", version.ref = "coil3" }
okhttp-logging-interceptor = { module = "com.squareup.okhttp3:logging-interceptor", version.ref = "okhttp" }
chucker-library = { module = "com.github.chuckerteam.chucker:library", version.ref = "chucker" }
chucker-library-no-op = { module = "com.github.chuckerteam.chucker:library-no-op", version.ref = "chucker" }
Expand All @@ -166,8 +165,6 @@ koin-compose-viewmodel = { module = "io.insert-koin:koin-compose-viewmodel", ver
okio = { module = "com.squareup.okio:okio", version.ref = "okio" }
napier = { module = "io.github.aakira:napier", version.ref = "napier" }

lint-checks = { module = "com.slack.lint.compose:compose-lint-checks", version.ref = "lint-checks" }

gradle-plugin = { module = "com.android.tools.build:gradle", version.ref = "agp" }
kotlin-plugin = { module = "org.jetbrains.kotlin:kotlin-gradle-plugin", version.ref = "kotlin" }

Expand Down Expand Up @@ -225,7 +222,7 @@ koin-common = [
]
coil-common = [
"coil3-compose",
"coil3-network-ktor"
"coil3-network-ktor3"
]
okio-common = [
"okio"
Expand Down

0 comments on commit f66c001

Please sign in to comment.