Skip to content

Commit

Permalink
Update libraries and version
Browse files Browse the repository at this point in the history
  • Loading branch information
roudikk committed Jan 30, 2024
1 parent a871883 commit 788e556
Show file tree
Hide file tree
Showing 5 changed files with 15 additions and 12 deletions.
2 changes: 1 addition & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
GROUP=com.roudikk.guia
POM_ARTIFACT_ID=guia
VERSION_NAME=1.0.0-beta04-SNAPSHOT
VERSION_NAME=1.0.0-beta05-SNAPSHOT

POM_NAME=Guia
POM_DESCRIPTION=Navigation Component for Jetpack Compose
Expand Down
15 changes: 7 additions & 8 deletions gradle/libs.versions.toml
Original file line number Diff line number Diff line change
@@ -1,23 +1,22 @@
[versions]

composeBom = "2023.08.00"
composeCompiler = "1.5.1"
composeViewModel = "2.6.1"
composeActivity = "1.7.2"
composeBom = "2024.01.00"
composeCompiler = "1.5.8"
composeViewModel = "2.7.0"
composeActivity = "1.8.2"
detektGradlePlugin = "1.23.1"
dokkaGradlePlugin = "1.8.20"
gradle = "8.1.0"
gradle = "8.2.2"
gradleMavenPublishPlugin = "0.25.3"
junit4 = "4.13.2"
detekt = "1.23.1"
coroutines = "1.7.3"
kotlin = "1.9.0"
junitAndroid = "1.1.5"
espresso = "3.5.1"
accompanist = "0.30.1"
kotlinGradlePlugin = "1.9.0"
kotlinGradlePlugin = "1.9.22"
lottie = "6.1.0"
googleMaterial = "1.9.0"
googleMaterial = "1.11.0"
googleTruth = "1.1.3"
androidxTestCore = "1.5.0"

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -264,7 +264,7 @@ private fun BottomNavigationBar(
setActive: (StackKey) -> Unit
) {
NavigationBar {
BottomNavTab.values().forEach { tab ->
BottomNavTab.entries.forEach { tab ->
NavigationBarItem(
modifier = Modifier
.navigationBarsPadding()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,10 @@ internal fun Navigator.CardContainer(
val widthPx = with(LocalDensity.current) { (maxWidth + 16.dp).toPx() }
val offset = swipeableState.offset.value.toInt()
val alphaMaxWidth = 0.8F * widthPx
val scale by animateFloatAsState(if (entry == entries.lastOrNull()) 1F else 0.9F)
val scale by animateFloatAsState(
targetValue = if (entry == entries.lastOrNull()) 1F else 0.9F,
label = "Scale animation"
)

Card(
shape = RoundedCornerShape(32.dp),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ import androidx.compose.foundation.layout.WindowInsets
import androidx.compose.foundation.layout.fillMaxSize
import androidx.compose.foundation.layout.padding
import androidx.compose.material.icons.Icons
import androidx.compose.material.icons.automirrored.filled.ArrowBack
import androidx.compose.material.icons.filled.ArrowBack
import androidx.compose.material3.ExperimentalMaterial3Api
import androidx.compose.material3.Icon
Expand Down Expand Up @@ -38,7 +39,7 @@ internal fun DetailsScaffold(
navigationIcon = {
IconButton(onClick = viewModel::onBackSelected) {
Icon(
imageVector = Icons.Default.ArrowBack,
imageVector = Icons.AutoMirrored.Filled.ArrowBack,
contentDescription = "Back"
)
}
Expand Down

0 comments on commit 788e556

Please sign in to comment.