Skip to content

Commit

Permalink
Updating libs dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
omarsanchezv committed Feb 6, 2024
1 parent d3205b4 commit a29b461
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ package com.togitech.ccp.component
import android.content.Context
import android.util.Log
import androidx.compose.foundation.focusable
import androidx.compose.foundation.interaction.MutableInteractionSource
import androidx.compose.foundation.layout.fillMaxWidth
import androidx.compose.foundation.shape.RoundedCornerShape
import androidx.compose.foundation.text.KeyboardActions
Expand Down Expand Up @@ -296,12 +297,17 @@ private fun ClearIconButton(
imageVector: ImageVector,
colors: TextFieldColors,
isNumberValid: Boolean,
interactionSource: MutableInteractionSource = remember { MutableInteractionSource() },
onClick: () -> Unit,
) = IconButton(onClick = onClick) {
Icon(
imageVector = imageVector,
contentDescription = stringResource(id = R.string.clear),
tint = colors.trailingIconColor(enabled = true, isError = !isNumberValid).value,
tint = colors.trailingIconColor(
enabled = true,
isError = !isNumberValid,
interactionSource = interactionSource,
).value,
)
}

Expand Down
10 changes: 5 additions & 5 deletions gradle/libs.versions.toml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[versions]
kotlin = "1.9.20"
kotlin = "1.9.22"
dokka = "1.9.10"

## SDK Versions
Expand All @@ -13,16 +13,16 @@ gradle-versions = "0.50.0"
detekt = "1.23.3"

accompanist = "0.32.0"
androidx-activity-compose = "1.8.1"
androidx-activity-compose = "1.8.2"
androidx-core = "1.12.0"
androidx-lifecycle = "2.7.0-rc01"
androidx-lifecycle = "2.7.0"
androidx-test-junit = "1.1.5"

# update version in README when changing below
compose = "1.5.4"
compose = "1.6.0"
# https://androidx.dev/storage/compose-compiler/repository/
# https://developer.android.com/jetpack/androidx/releases/compose-compiler
composeCompiler = "1.5.4"
composeCompiler = "1.5.8"

kotlinx-coroutines = "1.7.3"
kotlinx-collections-immutable = "0.3.6"
Expand Down

0 comments on commit a29b461

Please sign in to comment.