Skip to content

Commit e6539bc

Browse files
committed
chore: Update compose navigation and material3
Signed-off-by: Hu Shenghao <dede.hu@qq.com>
1 parent 8c2e1a9 commit e6539bc

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

app/src/main/java/com/dede/android_eggs/views/settings/compose/prefs/SnapshotPref.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ import androidx.compose.ui.res.stringResource
2929
import androidx.compose.ui.tooling.preview.Preview
3030
import androidx.compose.ui.unit.dp
3131
import androidx.compose.ui.window.Dialog
32-
import androidx.hilt.navigation.compose.hiltViewModel
32+
import androidx.hilt.lifecycle.viewmodel.compose.hiltViewModel
3333
import androidx.lifecycle.ViewModel
3434
import com.dede.android_eggs.navigation.EasterEggsDestination
3535
import com.dede.android_eggs.navigation.LocalNavController

app/src/main/java/com/dede/android_eggs/views/timeline/TimelineListDialog.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ import androidx.compose.ui.tooling.preview.Preview
4949
import androidx.compose.ui.unit.dp
5050
import androidx.constraintlayout.compose.ConstraintLayout
5151
import androidx.constraintlayout.compose.Dimension
52-
import androidx.hilt.navigation.compose.hiltViewModel
52+
import androidx.hilt.lifecycle.viewmodel.compose.hiltViewModel
5353
import androidx.lifecycle.ViewModel
5454
import com.dede.android_eggs.R
5555
import com.dede.android_eggs.views.main.compose.EasterEggLogo

gradle/libs.versions.toml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -49,14 +49,14 @@ androidx-splashscreen = "androidx.core:core-splashscreen:1.2.0"
4949
androidx-compose-activity = { module = "androidx.activity:activity-compose", version.ref = "activity" }
5050
androidx-compose-lifecycle = { module = "androidx.lifecycle:lifecycle-runtime-compose", version.ref = "lifecycle" }
5151
androidx-compose-viewmodel = { module = "androidx.lifecycle:lifecycle-viewmodel-compose", version.ref = "lifecycle" }
52-
androidx-compose-navigation = { module = "androidx.navigation:navigation-compose", version = "2.9.3" }
53-
androidx-compose-hilt-navigation = "androidx.hilt:hilt-navigation-compose:1.2.0"
52+
androidx-compose-navigation = { module = "androidx.navigation:navigation-compose", version = "2.9.7" }
53+
androidx-compose-hilt-navigation = "androidx.hilt:hilt-navigation-compose:1.3.0"
5454
androidx-compose-bom = { module = "androidx.compose:compose-bom", version.ref = "compose-bom" }
5555
androidx-compose-livedata = { module = "androidx.compose.runtime:runtime-livedata" }
5656
androidx-compose-runtime = { module = "androidx.compose.runtime:runtime" }
5757
androidx-compose-ui = { module = "androidx.compose.ui:ui" }
5858
androidx-compose-material = { module = "androidx.compose.material:material" }
59-
androidx-compose-material3 = { module = "androidx.compose.material3:material3", version = "1.5.0-alpha11" }
59+
androidx-compose-material3 = { module = "androidx.compose.material3:material3", version = "1.5.0-alpha12" }
6060
androidx-compose-material-icons = { module = "androidx.compose.material:material-icons-extended" }
6161
androidx-compose-constraintlayout = "androidx.constraintlayout:constraintlayout-compose:1.1.1"
6262
google-accompanist-drawablepainter = { module = "com.google.accompanist:accompanist-drawablepainter", version.ref = "accompanist" }

0 commit comments

Comments
 (0)