Skip to content

Commit 8682c0b

Browse files
committed
Fix CR comments
1 parent 8f19bda commit 8682c0b

File tree

3 files changed

+7
-6
lines changed

3 files changed

+7
-6
lines changed

AdaptiveNavigationSample/app/build.gradle.kts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ dependencies {
5050
implementation(libs.androidx.ui.tooling.preview)
5151
implementation(libs.androidx.material3)
5252
implementation(libs.androidx.material3.adaptive)
53-
implementation(libs.androidx.material3.adaptive.navigation)
53+
implementation(libs.androidx.material3.adaptive.navigation.suite)
5454
implementation(libs.androidx.material.icons)
5555
implementation(libs.androidx.material.icons.extended)
5656
testImplementation(libs.junit)

AdaptiveNavigationSample/app/src/main/java/com/google/sample/adaptivenavigationsample/MainActivity.kt

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,6 @@ package com.google.sample.adaptivenavigationsample
1717
*/
1818

1919
import android.os.Bundle
20-
import android.widget.RadioGroup
2120
import androidx.activity.ComponentActivity
2221
import androidx.activity.compose.setContent
2322
import androidx.activity.enableEdgeToEdge
@@ -56,7 +55,6 @@ import androidx.compose.ui.Modifier
5655
import androidx.compose.ui.graphics.vector.ImageVector
5756
import androidx.compose.ui.res.stringResource
5857
import androidx.compose.ui.semantics.Role
59-
import androidx.compose.ui.tooling.preview.Preview
6058
import androidx.compose.ui.tooling.preview.PreviewScreenSizes
6159
import androidx.compose.ui.unit.dp
6260
import com.google.sample.adaptivenavigationsample.ui.theme.AdaptiveNavigationSampleTheme
@@ -137,7 +135,10 @@ fun NavigationSample() {
137135
.height(56.dp)
138136
.selectable(
139137
selected = (text == selectedOption),
140-
onClick = { onOptionSelected(text); verticalArrangement = arrangement },
138+
onClick = {
139+
onOptionSelected(text);
140+
verticalArrangement = arrangement
141+
},
141142
role = Role.RadioButton
142143
)
143144
.padding(horizontal = 16.dp),

AdaptiveNavigationSample/gradle/libs.versions.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ lifecycleRuntimeKtx = "2.9.4"
99
activityCompose = "1.11.0"
1010
composeBom = "2025.09.01"
1111
material3-adaptive = "1.2.0-beta03"
12-
material3-adaptive-navigation = "1.5.0-alpha04"
12+
material3-adaptive-navigation-suite = "1.5.0-alpha04"
1313
material-icons = "1.7.8"
1414

1515
[libraries]
@@ -28,7 +28,7 @@ androidx-ui-test-manifest = { group = "androidx.compose.ui", name = "ui-test-man
2828
androidx-ui-test-junit4 = { group = "androidx.compose.ui", name = "ui-test-junit4" }
2929
androidx-material3 = { group = "androidx.compose.material3", name = "material3" }
3030
androidx-material3-adaptive = { group = "androidx.compose.material3.adaptive", name = "adaptive", version.ref = "material3-adaptive" }
31-
androidx-material3-adaptive-navigation = { group = "androidx.compose.material3", name = "material3-adaptive-navigation-suite", version.ref = "material3-adaptive-navigation" }
31+
androidx-material3-adaptive-navigation-suite = { group = "androidx.compose.material3", name = "material3-adaptive-navigation-suite", version.ref = "material3-adaptive-navigation-suite" }
3232
androidx-material-icons = { group = "androidx.compose.material", name = "material-icons-core", version.ref = "material-icons" }
3333
androidx-material-icons-extended = { group = "androidx.compose.material", name = "material-icons-extended", version.ref = "material-icons" }
3434

0 commit comments

Comments
 (0)