From b34c9dd2f33e8aea549cfd027b2f6c15dae5723c Mon Sep 17 00:00:00 2001 From: starry-shivam Date: Fri, 20 Sep 2024 13:47:05 +0530 Subject: [PATCH 1/2] Update dependencies Signed-off-by: starry-shivam --- .idea/misc.xml | 1 + .idea/other.xml | 252 ----------------------------------------------- app/build.gradle | 16 +-- build.gradle | 2 +- 4 files changed, 10 insertions(+), 261 deletions(-) delete mode 100644 .idea/other.xml diff --git a/.idea/misc.xml b/.idea/misc.xml index 8978d23d..0ad17cbd 100644 --- a/.idea/misc.xml +++ b/.idea/misc.xml @@ -1,3 +1,4 @@ + diff --git a/.idea/other.xml b/.idea/other.xml deleted file mode 100644 index 4604c446..00000000 --- a/.idea/other.xml +++ /dev/null @@ -1,252 +0,0 @@ - - - - - - \ No newline at end of file diff --git a/app/build.gradle b/app/build.gradle index 2fb5d5f7..908be39c 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -79,18 +79,18 @@ aboutLibraries { dependencies { - def composeBom = platform('androidx.compose:compose-bom:2024.06.00') + def composeBom = platform('androidx.compose:compose-bom:2024.09.02') implementation composeBom androidTestImplementation composeBom // Android core components. implementation 'androidx.core:core-ktx:1.13.1' implementation 'androidx.appcompat:appcompat:1.7.0' - implementation 'androidx.lifecycle:lifecycle-runtime-ktx:2.8.4' - implementation 'androidx.activity:activity-compose:1.9.1' - implementation "androidx.lifecycle:lifecycle-livedata-ktx:2.8.4" - implementation "androidx.lifecycle:lifecycle-viewmodel-compose:2.8.4" - implementation "androidx.navigation:navigation-compose:2.7.7" + implementation 'androidx.lifecycle:lifecycle-runtime-ktx:2.8.6' + implementation 'androidx.activity:activity-compose:1.9.2' + implementation "androidx.lifecycle:lifecycle-livedata-ktx:2.8.6" + implementation "androidx.lifecycle:lifecycle-viewmodel-compose:2.8.6" + implementation "androidx.navigation:navigation-compose:2.8.1" // Jetpack compose. implementation "androidx.compose.ui:ui" implementation "androidx.compose.ui:ui-tooling-preview" @@ -103,7 +103,7 @@ dependencies { // Android 12+ splash API. implementation 'androidx.core:core-splashscreen:1.0.1' // Material icons. - implementation 'androidx.compose.material:material-icons-extended:1.6.8' + implementation 'androidx.compose.material:material-icons-extended:1.7.2' // Room database implementation "androidx.room:room-ktx:$room_version" ksp "androidx.room:room-compiler:$room_version" @@ -135,7 +135,7 @@ dependencies { // Crash Handler. implementation 'cat.ereza:customactivityoncrash:2.4.0' // Oreo back-ports for API 24 (N) - coreLibraryDesugaring 'com.android.tools:desugar_jdk_libs:2.0.4' + coreLibraryDesugaring 'com.android.tools:desugar_jdk_libs:2.1.2' // Testing components. testImplementation 'junit:junit:4.13.2' androidTestImplementation 'androidx.test.ext:junit:1.2.1' diff --git a/build.gradle b/build.gradle index e6c6dd67..c5d6a82d 100644 --- a/build.gradle +++ b/build.gradle @@ -1,7 +1,7 @@ buildscript { ext { kotlin_version = '2.0.0' - gradle_version = '8.5.0' + gradle_version = '8.6.1' hilt_version = '2.51.1' room_version = '2.6.1' } From ac108495d9467773482f8c2a6fd86332b7cfb5ea Mon Sep 17 00:00:00 2001 From: starry-shivam Date: Fri, 20 Sep 2024 14:25:25 +0530 Subject: [PATCH 2/2] Update some depreciated stuffs Signed-off-by: starry-shivam --- .idea/inspectionProfiles/Project_Default.xml | 28 ++ app/build.gradle | 3 +- .../archive/composables/ArchiveScreen.kt | 280 +---------------- .../composables/ArchiveScreenComponents.kt | 294 ++++++++++++++++++ .../ui/screens/home/composables/HomeScreen.kt | 7 +- 5 files changed, 331 insertions(+), 281 deletions(-) create mode 100644 app/src/main/java/com/starry/greenstash/ui/screens/archive/composables/ArchiveScreenComponents.kt diff --git a/.idea/inspectionProfiles/Project_Default.xml b/.idea/inspectionProfiles/Project_Default.xml index 44ca2d9b..fb93d254 100644 --- a/.idea/inspectionProfiles/Project_Default.xml +++ b/.idea/inspectionProfiles/Project_Default.xml @@ -1,6 +1,34 @@