mirror of
https://github.com/SimpleMobileTools/Simple-Thank-You.git
synced 2025-02-16 11:31:34 +01:00
update to latest commons
This commit is contained in:
parent
e6cc16afcd
commit
3cd957d1bf
@ -107,8 +107,6 @@ android {
|
|||||||
}
|
}
|
||||||
|
|
||||||
dependencies {
|
dependencies {
|
||||||
implementation(libs.kotlin.immutable.collections)
|
|
||||||
|
|
||||||
implementation(libs.simple.tools.commons)
|
implementation(libs.simple.tools.commons)
|
||||||
implementation(libs.bundles.lifecycle)
|
implementation(libs.bundles.lifecycle)
|
||||||
implementation(libs.bundles.compose)
|
implementation(libs.bundles.compose)
|
||||||
|
@ -81,17 +81,6 @@ internal fun MainScreen(
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@Composable
|
|
||||||
fun topAppBarColors(
|
|
||||||
statusBarColor: Int,
|
|
||||||
colorTransitionFraction: Float,
|
|
||||||
contrastColor: Color
|
|
||||||
) = TopAppBarDefaults.topAppBarColors(
|
|
||||||
scrolledContainerColor = Color(statusBarColor),
|
|
||||||
containerColor = if (colorTransitionFraction == 1f) contrastColor else MaterialTheme.colorScheme.surface,
|
|
||||||
navigationIconContentColor = if (colorTransitionFraction == 1f) contrastColor else MaterialTheme.colorScheme.surface
|
|
||||||
)
|
|
||||||
|
|
||||||
@Composable
|
@Composable
|
||||||
@MyDevices
|
@MyDevices
|
||||||
private fun MainScreenPreview() {
|
private fun MainScreenPreview() {
|
||||||
|
@ -1,9 +1,8 @@
|
|||||||
[versions]
|
[versions]
|
||||||
#jetbrains
|
#jetbrains
|
||||||
kotlin = "1.9.10"
|
kotlin = "1.9.10"
|
||||||
kotlin-immutable-collections = "0.3.5" #todo remove
|
|
||||||
#Simple tools
|
#Simple tools
|
||||||
simple-commons = "eceb48949e"
|
simple-commons = "985e1da5f9"
|
||||||
#Compose
|
#Compose
|
||||||
composeActivity = "1.8.0-beta01"
|
composeActivity = "1.8.0-beta01"
|
||||||
compose = "1.6.0-alpha05"
|
compose = "1.6.0-alpha05"
|
||||||
@ -47,7 +46,6 @@ compose-ui = { module = "androidx.compose.ui:ui", version.ref = "compose" }
|
|||||||
compose-runtime = { module = "androidx.compose.runtime:runtime", version.ref = "compose" }
|
compose-runtime = { module = "androidx.compose.runtime:runtime", version.ref = "compose" }
|
||||||
compose-uiTooling-debug = { module = "androidx.compose.ui:ui-tooling", version.ref = "compose" }
|
compose-uiTooling-debug = { module = "androidx.compose.ui:ui-tooling", version.ref = "compose" }
|
||||||
compose-uiTooling-preview = { module = "androidx.compose.ui:ui-tooling-preview", version.ref = "compose" }
|
compose-uiTooling-preview = { module = "androidx.compose.ui:ui-tooling-preview", version.ref = "compose" }
|
||||||
kotlin-immutable-collections = {module = "org.jetbrains.kotlinx:kotlinx-collections-immutable", version.ref = "kotlin-immutable-collections"} #todo remove
|
|
||||||
[bundles]
|
[bundles]
|
||||||
compose = [
|
compose = [
|
||||||
"compose-activity",
|
"compose-activity",
|
||||||
|
Loading…
x
Reference in New Issue
Block a user