Update Jetpack Compose and Accompanist
This commit is contained in:
parent
237a0f2087
commit
1370901f46
@ -62,7 +62,7 @@ dependencyResolutionManagement {
|
|||||||
listOf("kotlin.stdlib", "kotlinx.coroutines.core", "kotlinx.coroutines.android")
|
listOf("kotlin.stdlib", "kotlinx.coroutines.core", "kotlinx.coroutines.android")
|
||||||
)
|
)
|
||||||
|
|
||||||
version("androidx.compose", "1.2.0-alpha01")
|
version("androidx.compose", "1.2.0-alpha02")
|
||||||
alias("androidx.compose.runtime")
|
alias("androidx.compose.runtime")
|
||||||
.to("androidx.compose.runtime", "runtime")
|
.to("androidx.compose.runtime", "runtime")
|
||||||
.versionRef("androidx.compose")
|
.versionRef("androidx.compose")
|
||||||
@ -95,7 +95,7 @@ dependencyResolutionManagement {
|
|||||||
.versionRef("androidx.compose")
|
.versionRef("androidx.compose")
|
||||||
alias("androidx.compose.material3")
|
alias("androidx.compose.material3")
|
||||||
.to("androidx.compose.material3", "material3")
|
.to("androidx.compose.material3", "material3")
|
||||||
.version("1.0.0-alpha03")
|
.version("1.0.0-alpha04")
|
||||||
|
|
||||||
version("androidx.lifecycle", "2.4.0-rc01")
|
version("androidx.lifecycle", "2.4.0-rc01")
|
||||||
alias("androidx.lifecycle.viewmodel")
|
alias("androidx.lifecycle.viewmodel")
|
||||||
@ -123,7 +123,7 @@ dependencyResolutionManagement {
|
|||||||
)
|
)
|
||||||
)
|
)
|
||||||
|
|
||||||
version("accompanist", "0.24.0-alpha")
|
version("accompanist", "0.24.1-alpha")
|
||||||
alias("accompanist.insets")
|
alias("accompanist.insets")
|
||||||
.to("com.google.accompanist", "accompanist-insets")
|
.to("com.google.accompanist", "accompanist-insets")
|
||||||
.versionRef("accompanist")
|
.versionRef("accompanist")
|
||||||
|
|||||||
@ -8,10 +8,7 @@ import androidx.compose.foundation.layout.padding
|
|||||||
import androidx.compose.foundation.lazy.LazyColumn
|
import androidx.compose.foundation.lazy.LazyColumn
|
||||||
import androidx.compose.foundation.lazy.items
|
import androidx.compose.foundation.lazy.items
|
||||||
import androidx.compose.foundation.shape.RoundedCornerShape
|
import androidx.compose.foundation.shape.RoundedCornerShape
|
||||||
import androidx.compose.material3.MaterialTheme
|
import androidx.compose.material3.*
|
||||||
import androidx.compose.material3.RadioButton
|
|
||||||
import androidx.compose.material3.Surface
|
|
||||||
import androidx.compose.material3.Text
|
|
||||||
import androidx.compose.runtime.*
|
import androidx.compose.runtime.*
|
||||||
import androidx.compose.ui.Alignment
|
import androidx.compose.ui.Alignment
|
||||||
import androidx.compose.ui.Modifier
|
import androidx.compose.ui.Modifier
|
||||||
@ -19,6 +16,7 @@ import androidx.compose.ui.graphics.vector.ImageVector
|
|||||||
import androidx.compose.ui.unit.dp
|
import androidx.compose.ui.unit.dp
|
||||||
import androidx.compose.ui.window.Dialog
|
import androidx.compose.ui.window.Dialog
|
||||||
|
|
||||||
|
@OptIn(ExperimentalMaterial3Api::class)
|
||||||
@Composable
|
@Composable
|
||||||
fun <T> ListPreference(
|
fun <T> ListPreference(
|
||||||
title: String,
|
title: String,
|
||||||
|
|||||||
@ -66,6 +66,7 @@ fun CalendarWidgetSettingsScreen() {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@OptIn(ExperimentalMaterial3Api::class)
|
||||||
@Composable
|
@Composable
|
||||||
fun ExcludedCalendarsPreference(
|
fun ExcludedCalendarsPreference(
|
||||||
calendars: List<UserCalendar>,
|
calendars: List<UserCalendar>,
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user