mirror of
https://github.com/msfjarvis/compose-lobsters
synced 2025-08-17 16:47:01 +05:30
build: upgrade Activity, Compose, Navigation, and Room
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
This commit is contained in:
parent
f55604f8fd
commit
1c6f6ad619
3 changed files with 8 additions and 8 deletions
|
@ -34,7 +34,7 @@ android {
|
|||
buildFeatures.compose = true
|
||||
|
||||
composeOptions {
|
||||
kotlinCompilerVersion = "1.4.20"
|
||||
kotlinCompilerVersion = "1.4.21"
|
||||
kotlinCompilerExtensionVersion = Dependencies.COMPOSE_VERSION
|
||||
}
|
||||
|
||||
|
|
|
@ -12,7 +12,7 @@ import androidx.compose.foundation.lazy.LazyColumnFor
|
|||
import androidx.compose.foundation.shape.RoundedCornerShape
|
||||
import androidx.compose.material.Surface
|
||||
import androidx.compose.material.Text
|
||||
import androidx.compose.material.ripple.rememberRippleIndication
|
||||
import androidx.compose.material.ripple.rememberRipple
|
||||
import androidx.compose.runtime.Composable
|
||||
import androidx.compose.ui.Modifier
|
||||
import androidx.compose.ui.graphics.Color
|
||||
|
@ -113,7 +113,7 @@ fun LobstersItem(
|
|||
modifier = Modifier.padding(8.dp)
|
||||
.clickable(
|
||||
onClick = onSaveButtonClick,
|
||||
indication = rememberRippleIndication(),
|
||||
indication = rememberRipple(),
|
||||
)
|
||||
.constrainAs(saveButton) {
|
||||
end.linkTo(parent.end)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue