# HG changeset patch # User Da Risk # Date 1745786847 14400 # Node ID 95e68d22bef2eb9572864f7f72686785ce75fde3 # Parent b6ea11765022530bd9f89eda65b0743e67de2ea8 ui:material3: switch default activities/windows to AdaptiveOpenSourceDependenciesScreen diff -r b6ea11765022 -r 95e68d22bef2 ui/material3/build.gradle.kts --- a/ui/material3/build.gradle.kts Sun Apr 27 16:32:52 2025 -0400 +++ b/ui/material3/build.gradle.kts Sun Apr 27 16:47:27 2025 -0400 @@ -72,7 +72,6 @@ api(libs.androidx.activity) implementation(dependencies.platform(libs.androidx.compose.bom)) implementation(libs.androidx.activity.compose) - implementation(libs.androidx.compose.ui.tooling) } } } @@ -123,6 +122,9 @@ testImplementation(libs.junit) androidTestImplementation(libs.androidx.test.ext.junit) androidTestImplementation(libs.espresso.core) + afterEvaluate { + "androidDebugImplementation"(libs.androidx.compose.ui.tooling) + } } publishing { diff -r b6ea11765022 -r 95e68d22bef2 ui/material3/src/androidMain/kotlin/OpenSourceLicensesActivity.kt --- a/ui/material3/src/androidMain/kotlin/OpenSourceLicensesActivity.kt Sun Apr 27 16:32:52 2025 -0400 +++ b/ui/material3/src/androidMain/kotlin/OpenSourceLicensesActivity.kt Sun Apr 27 16:47:27 2025 -0400 @@ -61,7 +61,7 @@ enableEdgeToEdge() setContent { themeProvider { - OpenSourceDependenciesNavHost( + AdaptiveOpenSourceDependenciesScreen( openSourceLicensesViewModel = viewModel, navigateUp = { if (!onNavigateUp()) { diff -r b6ea11765022 -r 95e68d22bef2 ui/material3/src/desktopMain/kotlin/OpenSourceLicensesWindow.kt --- a/ui/material3/src/desktopMain/kotlin/OpenSourceLicensesWindow.kt Sun Apr 27 16:32:52 2025 -0400 +++ b/ui/material3/src/desktopMain/kotlin/OpenSourceLicensesWindow.kt Sun Apr 27 16:47:27 2025 -0400 @@ -54,7 +54,7 @@ ) { val title = stringResource(Res.string.title_oss_licenses) Window(onCloseRequest = onCloseRequest, state = state, title = title) { - OpenSourceDependenciesNavHost( + AdaptiveOpenSourceDependenciesScreen( openSourceLicensesViewModel = viewModel, navigateUp = { onCloseRequest()