diff --git a/build.gradle.kts b/build.gradle.kts index 110890fa656..5a47c973e53 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -11,6 +11,7 @@ plugins { alias(libs.plugins.hilt).apply(false) alias(libs.plugins.kotlin.kapt).apply(false) alias(libs.plugins.kotlin.parcelize).apply(false) + alias(libs.plugins.ksp).apply(false) } allprojects { diff --git a/common/build.gradle.kts b/common/build.gradle.kts index 5bf7a61580a..937cbb34c68 100644 --- a/common/build.gradle.kts +++ b/common/build.gradle.kts @@ -2,6 +2,7 @@ plugins { alias(libs.plugins.android.library) alias(libs.plugins.kotlin.android) alias(libs.plugins.kotlin.kapt) + alias(libs.plugins.ksp) alias(libs.plugins.hilt) } @@ -22,15 +23,8 @@ android { buildConfigField("String", "RATE_LIMIT_URL", "\"$homeAssistantAndroidRateLimitUrl\"") buildConfigField("String", "VERSION_NAME", "\"$versionName-$versionCode\"") - javaCompileOptions { - annotationProcessorOptions { - arguments( - mapOf( - "room.incremental" to "true", - "room.schemaLocation" to "$projectDir/schemas" - ) - ) - } + ksp { + arg("room.schemaLocation", "$projectDir/schemas") } } @@ -67,7 +61,7 @@ dependencies { api(libs.androidx.room.runtime) api(libs.androidx.room.ktx) - kapt(libs.androidx.room.compiler) + ksp(libs.androidx.room.compiler) api(libs.androidx.work.runtime.ktx) diff --git a/gradle/libs.versions.toml b/gradle/libs.versions.toml index e0686ea3295..7e4420adc3e 100644 --- a/gradle/libs.versions.toml +++ b/gradle/libs.versions.toml @@ -1,9 +1,9 @@ [versions] -accompanist = "0.30.1" +accompanist = "0.32.0" activity-compose = "1.7.2" androidBeaconLibrary = "2.19.6" androidJunit5 = "1.9.3.0" -androidPlugin = "8.1.0" +androidPlugin = "8.1.1" androidSdk-compile = "34" androidSdk-min = "21" androidSdk-target = "33" @@ -16,8 +16,8 @@ blurView = "version-1.6.6" car-versions = "1.3.0-rc01" changeLog = "3.4" community-material-typeface = "7.0.96.0-kotlin" -compose-bom = "2023.06.01" -compose-compiler = "1.4.8" +compose-bom = "2023.08.00" +compose-compiler = "1.5.2" constraintlayout = "2.1.4" converterJackson = "2.9.0" coreKtx = "1.10.1" @@ -34,13 +34,14 @@ iconics = "5.4.0" jackson-module-kotlin = "2.13.5" javaVersion = "11" kotlinx-coroutines = "1.7.3" -kotlin = "1.8.22" +kotlin = "1.9.0" +ksp = "1.9.0-1.0.13" ktlint = "11.5.1" lifecycle = "2.6.1" loggingInterceptor = "4.11.0" material = "1.9.0" media3 = "1.1.0" -navigation-compose = "2.6.0" +navigation-compose = "2.7.1" okhttp = "4.11.0" picasso = "2.8" play-services-threadnetwork = "16.0.0" @@ -55,7 +56,7 @@ room = "2.5.2" sentry-android = "6.28.0" watchfaceComplicationsDataSourceKtx = "1.1.1" wear = "1.2.0" -wear-compose-foundation = "1.1.2" +wear-compose-foundation = "1.2.0" wear-tiles = "1.2.0-alpha07" wearPhoneInteractions = "1.0.1" wearInput = "1.2.0-alpha02" @@ -72,6 +73,7 @@ hilt = { id = "com.google.dagger.hilt.android", version.ref = "hilt" } kotlin-android = { id = "org.jetbrains.kotlin.android", version.ref = "kotlin" } kotlin-kapt = { id = "org.jetbrains.kotlin.kapt", version.ref = "kotlin" } kotlin-parcelize = { id = "org.jetbrains.kotlin.plugin.parcelize", version.ref = "kotlin" } +ksp = { id = "com.google.devtools.ksp", version.ref = "ksp" } ktlint = { id = "org.jlleitschuh.gradle.ktlint", version.ref = "ktlint" } [libraries] diff --git a/wear/build.gradle.kts b/wear/build.gradle.kts index 89f895f862a..1e74ae7e35b 100644 --- a/wear/build.gradle.kts +++ b/wear/build.gradle.kts @@ -19,12 +19,6 @@ android { versionName = project.version.toString() // We add 1 because the app and wear versions need to have different version codes. versionCode = (System.getenv("VERSION_CODE")?.toIntOrNull() ?: 1) + 1 - - javaCompileOptions { - annotationProcessorOptions { - arguments(mapOf("room.incremental" to "true")) - } - } } buildFeatures { diff --git a/wear/src/main/java/io/homeassistant/companion/android/conversation/views/ConversationView.kt b/wear/src/main/java/io/homeassistant/companion/android/conversation/views/ConversationView.kt index 109ac4412dd..6dda1514421 100755 --- a/wear/src/main/java/io/homeassistant/companion/android/conversation/views/ConversationView.kt +++ b/wear/src/main/java/io/homeassistant/companion/android/conversation/views/ConversationView.kt @@ -35,6 +35,9 @@ import androidx.compose.ui.tooling.preview.Devices import androidx.compose.ui.tooling.preview.Preview import androidx.compose.ui.unit.dp import androidx.compose.ui.unit.sp +import androidx.wear.compose.foundation.lazy.ScalingLazyColumn +import androidx.wear.compose.foundation.lazy.items +import androidx.wear.compose.foundation.lazy.rememberScalingLazyListState import androidx.wear.compose.material.Button import androidx.wear.compose.material.ButtonDefaults import androidx.wear.compose.material.Chip @@ -42,10 +45,7 @@ import androidx.wear.compose.material.ChipDefaults import androidx.wear.compose.material.LocalContentColor import androidx.wear.compose.material.PositionIndicator import androidx.wear.compose.material.Scaffold -import androidx.wear.compose.material.ScalingLazyColumn import androidx.wear.compose.material.Text -import androidx.wear.compose.material.items -import androidx.wear.compose.material.rememberScalingLazyListState import androidx.wear.compose.navigation.SwipeDismissableNavHost import androidx.wear.compose.navigation.composable import androidx.wear.compose.navigation.rememberSwipeDismissableNavController diff --git a/wear/src/main/java/io/homeassistant/companion/android/home/views/DetailsPanelView.kt b/wear/src/main/java/io/homeassistant/companion/android/home/views/DetailsPanelView.kt index c2534af4443..70b99c272c3 100644 --- a/wear/src/main/java/io/homeassistant/companion/android/home/views/DetailsPanelView.kt +++ b/wear/src/main/java/io/homeassistant/companion/android/home/views/DetailsPanelView.kt @@ -19,6 +19,7 @@ import androidx.compose.ui.res.stringResource import androidx.compose.ui.tooling.preview.Devices import androidx.compose.ui.tooling.preview.Preview import androidx.compose.ui.unit.dp +import androidx.wear.compose.foundation.lazy.rememberScalingLazyListState import androidx.wear.compose.material.Icon import androidx.wear.compose.material.InlineSlider import androidx.wear.compose.material.InlineSliderDefaults @@ -28,7 +29,6 @@ import androidx.wear.compose.material.Text import androidx.wear.compose.material.ToggleButton import androidx.wear.compose.material.ToggleButtonDefaults import androidx.wear.compose.material.ToggleChipDefaults -import androidx.wear.compose.material.rememberScalingLazyListState import com.mikepenz.iconics.compose.Image import com.mikepenz.iconics.typeface.library.community.material.CommunityMaterial import io.homeassistant.companion.android.common.R diff --git a/wear/src/main/java/io/homeassistant/companion/android/home/views/EntityListView.kt b/wear/src/main/java/io/homeassistant/companion/android/home/views/EntityListView.kt index c69179901f5..84017340ee0 100644 --- a/wear/src/main/java/io/homeassistant/companion/android/home/views/EntityListView.kt +++ b/wear/src/main/java/io/homeassistant/companion/android/home/views/EntityListView.kt @@ -6,13 +6,13 @@ import androidx.compose.ui.res.stringResource import androidx.compose.ui.text.style.TextAlign import androidx.compose.ui.tooling.preview.Devices import androidx.compose.ui.tooling.preview.Preview +import androidx.wear.compose.foundation.lazy.items +import androidx.wear.compose.foundation.lazy.rememberScalingLazyListState import androidx.wear.compose.material.Chip import androidx.wear.compose.material.ChipDefaults import androidx.wear.compose.material.PositionIndicator import androidx.wear.compose.material.Scaffold import androidx.wear.compose.material.Text -import androidx.wear.compose.material.items -import androidx.wear.compose.material.rememberScalingLazyListState import io.homeassistant.companion.android.common.data.integration.Entity import io.homeassistant.companion.android.theme.WearAppTheme import io.homeassistant.companion.android.util.playPreviewEntityScene1 diff --git a/wear/src/main/java/io/homeassistant/companion/android/home/views/MainView.kt b/wear/src/main/java/io/homeassistant/companion/android/home/views/MainView.kt index 64472933b9f..c5c76cf1e00 100644 --- a/wear/src/main/java/io/homeassistant/companion/android/home/views/MainView.kt +++ b/wear/src/main/java/io/homeassistant/companion/android/home/views/MainView.kt @@ -24,15 +24,14 @@ import androidx.compose.ui.res.stringResource import androidx.compose.ui.text.style.TextAlign import androidx.compose.ui.text.style.TextOverflow import androidx.compose.ui.unit.dp +import androidx.wear.compose.foundation.lazy.rememberScalingLazyListState import androidx.wear.compose.material.Chip import androidx.wear.compose.material.ChipDefaults import androidx.wear.compose.material.CircularProgressIndicator import androidx.wear.compose.material.MaterialTheme import androidx.wear.compose.material.PositionIndicator import androidx.wear.compose.material.Scaffold -import androidx.wear.compose.material.ScalingLazyListState import androidx.wear.compose.material.Text -import androidx.wear.compose.material.rememberScalingLazyListState import com.mikepenz.iconics.compose.Image import com.mikepenz.iconics.typeface.library.community.material.CommunityMaterial import io.homeassistant.companion.android.common.data.integration.Entity @@ -58,7 +57,7 @@ fun MainView( isHapticEnabled: Boolean, isToastEnabled: Boolean ) { - val scalingLazyListState: ScalingLazyListState = rememberScalingLazyListState() + val scalingLazyListState = rememberScalingLazyListState() var expandedFavorites: Boolean by rememberSaveable { mutableStateOf(true) } diff --git a/wear/src/main/java/io/homeassistant/companion/android/home/views/SelectShortcutsTileView.kt b/wear/src/main/java/io/homeassistant/companion/android/home/views/SelectShortcutsTileView.kt index 4f5935c1e31..bd860a034b6 100644 --- a/wear/src/main/java/io/homeassistant/companion/android/home/views/SelectShortcutsTileView.kt +++ b/wear/src/main/java/io/homeassistant/companion/android/home/views/SelectShortcutsTileView.kt @@ -8,6 +8,8 @@ import androidx.compose.ui.res.pluralStringResource import androidx.compose.ui.res.stringResource import androidx.compose.ui.tooling.preview.Devices import androidx.compose.ui.tooling.preview.Preview +import androidx.wear.compose.foundation.lazy.itemsIndexed +import androidx.wear.compose.foundation.lazy.rememberScalingLazyListState import androidx.wear.compose.material.Chip import androidx.wear.compose.material.ChipDefaults import androidx.wear.compose.material.Icon @@ -16,8 +18,6 @@ import androidx.wear.compose.material.Scaffold import androidx.wear.compose.material.Text import androidx.wear.compose.material.ToggleChip import androidx.wear.compose.material.ToggleChipDefaults -import androidx.wear.compose.material.itemsIndexed -import androidx.wear.compose.material.rememberScalingLazyListState import com.mikepenz.iconics.compose.Image import com.mikepenz.iconics.typeface.library.community.material.CommunityMaterial import io.homeassistant.companion.android.theme.WearAppTheme diff --git a/wear/src/main/java/io/homeassistant/companion/android/home/views/SensorManagerUi.kt b/wear/src/main/java/io/homeassistant/companion/android/home/views/SensorManagerUi.kt index fb450d70d5e..97ac49ac23c 100644 --- a/wear/src/main/java/io/homeassistant/companion/android/home/views/SensorManagerUi.kt +++ b/wear/src/main/java/io/homeassistant/companion/android/home/views/SensorManagerUi.kt @@ -11,11 +11,10 @@ import androidx.compose.ui.Modifier import androidx.compose.ui.tooling.preview.Devices import androidx.compose.ui.tooling.preview.Preview import androidx.compose.ui.unit.dp +import androidx.wear.compose.foundation.lazy.rememberScalingLazyListState import androidx.wear.compose.material.CircularProgressIndicator import androidx.wear.compose.material.PositionIndicator import androidx.wear.compose.material.Scaffold -import androidx.wear.compose.material.ScalingLazyListState -import androidx.wear.compose.material.rememberScalingLazyListState import io.homeassistant.companion.android.common.R import io.homeassistant.companion.android.common.sensors.SensorManager import io.homeassistant.companion.android.database.sensor.Sensor @@ -32,7 +31,7 @@ fun SensorManagerUi( sensorManager: SensorManager, onSensorClicked: (String, Boolean) -> Unit ) { - val scalingLazyListState: ScalingLazyListState = rememberScalingLazyListState() + val scalingLazyListState = rememberScalingLazyListState() WearAppTheme { Scaffold( positionIndicator = { diff --git a/wear/src/main/java/io/homeassistant/companion/android/home/views/SensorsView.kt b/wear/src/main/java/io/homeassistant/companion/android/home/views/SensorsView.kt index d3b66778daa..04664e37c6d 100644 --- a/wear/src/main/java/io/homeassistant/companion/android/home/views/SensorsView.kt +++ b/wear/src/main/java/io/homeassistant/companion/android/home/views/SensorsView.kt @@ -9,13 +9,12 @@ import androidx.compose.ui.platform.LocalContext import androidx.compose.ui.res.stringResource import androidx.compose.ui.tooling.preview.Devices import androidx.compose.ui.tooling.preview.Preview +import androidx.wear.compose.foundation.lazy.rememberScalingLazyListState import androidx.wear.compose.material.Chip import androidx.wear.compose.material.ChipDefaults import androidx.wear.compose.material.PositionIndicator import androidx.wear.compose.material.Scaffold -import androidx.wear.compose.material.ScalingLazyListState import androidx.wear.compose.material.Text -import androidx.wear.compose.material.rememberScalingLazyListState import io.homeassistant.companion.android.common.sensors.SensorManager import io.homeassistant.companion.android.sensors.SensorReceiver import io.homeassistant.companion.android.theme.WearAppTheme @@ -27,7 +26,7 @@ import io.homeassistant.companion.android.common.R as commonR fun SensorsView( onClickSensorManager: (SensorManager) -> Unit ) { - val scalingLazyListState: ScalingLazyListState = rememberScalingLazyListState() + val scalingLazyListState = rememberScalingLazyListState() WearAppTheme { Scaffold( diff --git a/wear/src/main/java/io/homeassistant/companion/android/home/views/SetFavoriteView.kt b/wear/src/main/java/io/homeassistant/companion/android/home/views/SetFavoriteView.kt index 87dfe9c0a40..3c08823fbf2 100644 --- a/wear/src/main/java/io/homeassistant/companion/android/home/views/SetFavoriteView.kt +++ b/wear/src/main/java/io/homeassistant/companion/android/home/views/SetFavoriteView.kt @@ -7,15 +7,14 @@ import androidx.compose.ui.graphics.ColorFilter import androidx.compose.ui.platform.LocalContext import androidx.compose.ui.res.stringResource import androidx.compose.ui.text.style.TextOverflow +import androidx.wear.compose.foundation.lazy.items +import androidx.wear.compose.foundation.lazy.rememberScalingLazyListState import androidx.wear.compose.material.Icon import androidx.wear.compose.material.PositionIndicator import androidx.wear.compose.material.Scaffold -import androidx.wear.compose.material.ScalingLazyListState import androidx.wear.compose.material.Text import androidx.wear.compose.material.ToggleChip import androidx.wear.compose.material.ToggleChipDefaults -import androidx.wear.compose.material.items -import androidx.wear.compose.material.rememberScalingLazyListState import com.mikepenz.iconics.compose.Image import com.mikepenz.iconics.typeface.library.community.material.CommunityMaterial import io.homeassistant.companion.android.common.data.integration.Entity @@ -38,7 +37,7 @@ fun SetFavoritesView( // Remember expanded state of each header val expandedStates = rememberExpandedStates(mainViewModel.supportedDomains()) - val scalingLazyListState: ScalingLazyListState = rememberScalingLazyListState() + val scalingLazyListState = rememberScalingLazyListState() WearAppTheme { Scaffold( diff --git a/wear/src/main/java/io/homeassistant/companion/android/home/views/SetShortcutsTileView.kt b/wear/src/main/java/io/homeassistant/companion/android/home/views/SetShortcutsTileView.kt index 373dba0f44b..94c793c81d4 100644 --- a/wear/src/main/java/io/homeassistant/companion/android/home/views/SetShortcutsTileView.kt +++ b/wear/src/main/java/io/homeassistant/companion/android/home/views/SetShortcutsTileView.kt @@ -12,6 +12,7 @@ import androidx.compose.ui.text.style.TextOverflow import androidx.compose.ui.tooling.preview.Devices import androidx.compose.ui.tooling.preview.Preview import androidx.compose.ui.unit.dp +import androidx.wear.compose.foundation.lazy.rememberScalingLazyListState import androidx.wear.compose.material.Button import androidx.wear.compose.material.ButtonDefaults import androidx.wear.compose.material.Chip @@ -19,7 +20,6 @@ import androidx.wear.compose.material.ChipDefaults import androidx.wear.compose.material.PositionIndicator import androidx.wear.compose.material.Scaffold import androidx.wear.compose.material.Text -import androidx.wear.compose.material.rememberScalingLazyListState import com.mikepenz.iconics.compose.Image import com.mikepenz.iconics.typeface.library.community.material.CommunityMaterial import io.homeassistant.companion.android.data.SimplifiedEntity diff --git a/wear/src/main/java/io/homeassistant/companion/android/home/views/SettingsView.kt b/wear/src/main/java/io/homeassistant/companion/android/home/views/SettingsView.kt index 2aea27ad876..b70492db57b 100644 --- a/wear/src/main/java/io/homeassistant/companion/android/home/views/SettingsView.kt +++ b/wear/src/main/java/io/homeassistant/companion/android/home/views/SettingsView.kt @@ -10,16 +10,15 @@ import androidx.compose.ui.platform.LocalHapticFeedback import androidx.compose.ui.res.stringResource import androidx.compose.ui.tooling.preview.Devices import androidx.compose.ui.tooling.preview.Preview +import androidx.wear.compose.foundation.lazy.rememberScalingLazyListState import androidx.wear.compose.material.Chip import androidx.wear.compose.material.ChipDefaults import androidx.wear.compose.material.Icon import androidx.wear.compose.material.PositionIndicator import androidx.wear.compose.material.Scaffold -import androidx.wear.compose.material.ScalingLazyListState import androidx.wear.compose.material.Text import androidx.wear.compose.material.ToggleChip import androidx.wear.compose.material.ToggleChipDefaults -import androidx.wear.compose.material.rememberScalingLazyListState import com.mikepenz.iconics.compose.Image import com.mikepenz.iconics.typeface.IIcon import com.mikepenz.iconics.typeface.library.community.material.CommunityMaterial @@ -77,7 +76,7 @@ fun SettingsView( onClickTemplateTile: () -> Unit, onAssistantAppAllowed: (Boolean) -> Unit ) { - val scalingLazyListState: ScalingLazyListState = rememberScalingLazyListState() + val scalingLazyListState = rememberScalingLazyListState() WearAppTheme { Scaffold( diff --git a/wear/src/main/java/io/homeassistant/companion/android/home/views/TemplateTileSettingsView.kt b/wear/src/main/java/io/homeassistant/companion/android/home/views/TemplateTileSettingsView.kt index 60f50aaec94..2776ff0b4a0 100644 --- a/wear/src/main/java/io/homeassistant/companion/android/home/views/TemplateTileSettingsView.kt +++ b/wear/src/main/java/io/homeassistant/companion/android/home/views/TemplateTileSettingsView.kt @@ -10,12 +10,12 @@ import androidx.compose.ui.platform.LocalContext import androidx.compose.ui.res.stringResource import androidx.compose.ui.tooling.preview.Devices import androidx.compose.ui.tooling.preview.Preview +import androidx.wear.compose.foundation.lazy.rememberScalingLazyListState import androidx.wear.compose.material.Chip import androidx.wear.compose.material.ChipDefaults import androidx.wear.compose.material.PositionIndicator import androidx.wear.compose.material.Scaffold import androidx.wear.compose.material.Text -import androidx.wear.compose.material.rememberScalingLazyListState import com.mikepenz.iconics.compose.Image import com.mikepenz.iconics.typeface.library.community.material.CommunityMaterial import io.homeassistant.companion.android.common.R diff --git a/wear/src/main/java/io/homeassistant/companion/android/home/views/TimeText.kt b/wear/src/main/java/io/homeassistant/companion/android/home/views/TimeText.kt index 358f3b4d5c7..cbaac4ebf65 100644 --- a/wear/src/main/java/io/homeassistant/companion/android/home/views/TimeText.kt +++ b/wear/src/main/java/io/homeassistant/companion/android/home/views/TimeText.kt @@ -5,9 +5,9 @@ import androidx.compose.runtime.CompositionLocalProvider import androidx.compose.ui.Modifier import androidx.compose.ui.tooling.preview.Devices import androidx.compose.ui.tooling.preview.Preview -import androidx.wear.compose.material.ScalingLazyListState +import androidx.wear.compose.foundation.lazy.ScalingLazyListState +import androidx.wear.compose.foundation.lazy.rememberScalingLazyListState import androidx.wear.compose.material.TimeText -import androidx.wear.compose.material.rememberScalingLazyListState import androidx.wear.compose.material.scrollAway @Composable diff --git a/wear/src/main/java/io/homeassistant/companion/android/onboarding/phoneinstall/PhoneInstallView.kt b/wear/src/main/java/io/homeassistant/companion/android/onboarding/phoneinstall/PhoneInstallView.kt index d7d7386d16a..9a4d398a471 100644 --- a/wear/src/main/java/io/homeassistant/companion/android/onboarding/phoneinstall/PhoneInstallView.kt +++ b/wear/src/main/java/io/homeassistant/companion/android/onboarding/phoneinstall/PhoneInstallView.kt @@ -12,13 +12,13 @@ import androidx.compose.ui.text.style.TextAlign import androidx.compose.ui.tooling.preview.Devices import androidx.compose.ui.tooling.preview.Preview import androidx.compose.ui.unit.dp +import androidx.wear.compose.foundation.lazy.rememberScalingLazyListState import androidx.wear.compose.material.Button import androidx.wear.compose.material.ButtonDefaults import androidx.wear.compose.material.MaterialTheme import androidx.wear.compose.material.PositionIndicator import androidx.wear.compose.material.Scaffold import androidx.wear.compose.material.Text -import androidx.wear.compose.material.rememberScalingLazyListState import io.homeassistant.companion.android.R import io.homeassistant.companion.android.home.views.TimeText import io.homeassistant.companion.android.views.ThemeLazyColumn diff --git a/wear/src/main/java/io/homeassistant/companion/android/views/ChooseEntityView.kt b/wear/src/main/java/io/homeassistant/companion/android/views/ChooseEntityView.kt index 1fae9153dd6..68c544c86af 100644 --- a/wear/src/main/java/io/homeassistant/companion/android/views/ChooseEntityView.kt +++ b/wear/src/main/java/io/homeassistant/companion/android/views/ChooseEntityView.kt @@ -17,10 +17,10 @@ import androidx.compose.ui.platform.LocalContext import androidx.compose.ui.res.stringResource import androidx.compose.ui.text.style.TextOverflow import androidx.compose.ui.unit.dp +import androidx.wear.compose.foundation.lazy.items import androidx.wear.compose.material.Chip import androidx.wear.compose.material.ChipDefaults import androidx.wear.compose.material.Text -import androidx.wear.compose.material.items import com.mikepenz.iconics.compose.Image import com.mikepenz.iconics.typeface.library.community.material.CommunityMaterial import io.homeassistant.companion.android.common.data.integration.Entity diff --git a/wear/src/main/java/io/homeassistant/companion/android/views/ThemeLazyColumn.kt b/wear/src/main/java/io/homeassistant/companion/android/views/ThemeLazyColumn.kt index 4ebcfd0690f..683518a0e9f 100644 --- a/wear/src/main/java/io/homeassistant/companion/android/views/ThemeLazyColumn.kt +++ b/wear/src/main/java/io/homeassistant/companion/android/views/ThemeLazyColumn.kt @@ -15,10 +15,10 @@ import androidx.compose.ui.focus.FocusRequester import androidx.compose.ui.focus.focusRequester import androidx.compose.ui.input.rotary.onRotaryScrollEvent import androidx.compose.ui.unit.dp -import androidx.wear.compose.material.ScalingLazyColumn -import androidx.wear.compose.material.ScalingLazyListScope -import androidx.wear.compose.material.ScalingLazyListState -import androidx.wear.compose.material.rememberScalingLazyListState +import androidx.wear.compose.foundation.lazy.ScalingLazyColumn +import androidx.wear.compose.foundation.lazy.ScalingLazyListScope +import androidx.wear.compose.foundation.lazy.ScalingLazyListState +import androidx.wear.compose.foundation.lazy.rememberScalingLazyListState import kotlinx.coroutines.launch @Composable