From b1acab1957181a81a679898aba65a335bfb3d6d9 Mon Sep 17 00:00:00 2001 From: Levin Li Date: Mon, 3 Apr 2023 10:49:26 +0800 Subject: [PATCH] Downgrade compose --- app/build.gradle | 12 ++++++------ app/src/main/AndroidManifest.xml | 2 +- build.gradle | 1 - 3 files changed, 7 insertions(+), 8 deletions(-) diff --git a/app/build.gradle b/app/build.gradle index 27716aca..a9ee2e59 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -26,7 +26,7 @@ android { } composeOptions { - kotlinCompilerExtensionVersion = "1.4.4" + kotlinCompilerExtensionVersion = "1.4.3" } kotlinOptions { @@ -132,12 +132,12 @@ dependencies { implementation "com.google.dagger:hilt-android:$hilt_version" kapt "com.google.dagger:hilt-compiler:$hilt_version" - implementation "androidx.compose.animation:animation:$compose_version" - implementation "androidx.compose.foundation:foundation:$compose_version" - implementation "androidx.compose.runtime:runtime:$compose_version" - implementation "androidx.compose.ui:ui:$compose_version" + implementation "androidx.compose.animation:animation:1.3.3" + implementation "androidx.compose.foundation:foundation:1.3.1" + implementation "androidx.compose.runtime:runtime:1.3.3" + implementation "androidx.compose.ui:ui:1.3.3" implementation "androidx.compose.material3:material3:1.0.1" - implementation "com.google.accompanist:accompanist-themeadapter-material3:0.30.0" + implementation "com.google.accompanist:accompanist-themeadapter-material3:0.28.0" testImplementation "junit:junit:4.13.2" androidTestImplementation "androidx.test.ext:junit:1.1.5" diff --git a/app/src/main/AndroidManifest.xml b/app/src/main/AndroidManifest.xml index 81bc7640..0d343dd4 100644 --- a/app/src/main/AndroidManifest.xml +++ b/app/src/main/AndroidManifest.xml @@ -13,7 +13,7 @@ diff --git a/build.gradle b/build.gradle index f0fbc287..77195211 100644 --- a/build.gradle +++ b/build.gradle @@ -19,7 +19,6 @@ buildscript { ext.kotlinx_coroutines_version = '1.6.4' ext.hilt_version = '2.45' ext.lifecycle_version = '2.6.1' - ext.compose_version = '1.4.0' repositories { google()