From d3d3117c3de7f3eac5be123fc6e351e191bedcd0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Wolf-Martell=20Montw=C3=A9?= Date: Thu, 25 Apr 2024 13:32:50 +0200 Subject: [PATCH] Change to Material 3 library --- app-ui-catalog/build.gradle.kts | 2 +- .../java/app/k9mail/ui/catalog/ui/common/PagedContent.kt | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/app-ui-catalog/build.gradle.kts b/app-ui-catalog/build.gradle.kts index c6518ec66..8debff21f 100644 --- a/app-ui-catalog/build.gradle.kts +++ b/app-ui-catalog/build.gradle.kts @@ -18,7 +18,7 @@ dependencies { implementation(projects.core.ui.compose.theme2.thunderbird) implementation(projects.core.ui.compose.theme2.k9mail) - implementation(libs.androidx.compose.material) + implementation(libs.androidx.compose.material3) implementation(libs.androidx.compose.material.icons.extended) implementation(libs.kotlinx.datetime) diff --git a/app-ui-catalog/src/main/java/app/k9mail/ui/catalog/ui/common/PagedContent.kt b/app-ui-catalog/src/main/java/app/k9mail/ui/catalog/ui/common/PagedContent.kt index cb13f2d69..d4775be50 100644 --- a/app-ui-catalog/src/main/java/app/k9mail/ui/catalog/ui/common/PagedContent.kt +++ b/app-ui-catalog/src/main/java/app/k9mail/ui/catalog/ui/common/PagedContent.kt @@ -12,9 +12,9 @@ import androidx.compose.foundation.lazy.grid.LazyGridScope import androidx.compose.foundation.lazy.grid.LazyVerticalGrid import androidx.compose.foundation.pager.HorizontalPager import androidx.compose.foundation.pager.rememberPagerState -import androidx.compose.material.ScrollableTabRow -import androidx.compose.material.Tab -import androidx.compose.material.Text +import androidx.compose.material3.ScrollableTabRow +import androidx.compose.material3.Tab +import androidx.compose.material3.Text import androidx.compose.runtime.Composable import androidx.compose.runtime.rememberCoroutineScope import androidx.compose.ui.Modifier