Skip to content

Commit

Permalink
重写主屏幕
Browse files Browse the repository at this point in the history
  • Loading branch information
aaa1115910 committed Feb 11, 2024
1 parent 8276ff4 commit aad1002
Show file tree
Hide file tree
Showing 9 changed files with 290 additions and 336 deletions.
1 change: 1 addition & 0 deletions app/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -199,6 +199,7 @@ dependencies {
implementation(libs.geetest.sensebot)
implementation(libs.koin.android)
implementation(libs.koin.compose)
implementation(libs.koin.compose.navigation)
implementation(libs.kotlinx.serialization)
implementation(libs.ktor.client.cio)
implementation(libs.koin.core)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ import dev.aaa1115910.bv.mobile.theme.BVMobileTheme
@Composable
fun ListDetailPaneScaffoldSample() {
BVMobileTheme {
val scaffoldNavigator = rememberListDetailPaneScaffoldNavigator()
val scaffoldNavigator = rememberListDetailPaneScaffoldNavigator<Nothing>()
ListDetailPaneScaffold(
scaffoldState = scaffoldNavigator.scaffoldState,
listPane = {
Expand Down Expand Up @@ -66,7 +66,7 @@ private fun SettingPre() {
@OptIn(ExperimentalMaterial3AdaptiveApi::class)
@Composable
fun Settings() {
val scaffoldNavigator = rememberListDetailPaneScaffoldNavigator()
val scaffoldNavigator = rememberListDetailPaneScaffoldNavigator<Nothing>()
ListDetailPaneScaffold(
scaffoldState = scaffoldNavigator.scaffoldState,
listPane = {
Expand Down

This file was deleted.

Loading

0 comments on commit aad1002

Please sign in to comment.