Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Upgrade to Compose 1.6 #1691

Merged
merged 3 commits into from
Aug 7, 2023
Merged

Upgrade to Compose 1.6 #1691

merged 3 commits into from
Aug 7, 2023

Conversation

bentrengrove
Copy link
Collaborator

Fixes #1665
Fixes #1671

Currently blocked by navigation material needing upgrades

@bentrengrove bentrengrove marked this pull request as ready for review August 2, 2023 00:52
@@ -33,7 +33,7 @@ systemProp.org.gradle.internal.http.socketTimeout=120000

GROUP=com.google.accompanist
# !! No longer need to update this manually when using a Compose SNAPSHOT
VERSION_NAME=0.31.7-SNAPSHOT
VERSION_NAME=0.33.0-alpha
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Leaving 0.32 for the Compose 1.5 stable release

@@ -113,7 +81,7 @@ public class BottomSheetNavigatorSheetState(internal val sheetState: ModalBottom
@OptIn(ExperimentalMaterialApi::class)
@Composable
public fun rememberBottomSheetNavigator(
animationSpec: AnimationSpec<Float> = SwipeableDefaults.AnimationSpec
animationSpec: AnimationSpec<Float> = SpringSpec<Float>()
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nit: It looks like they behave the same, but I've usually seen spring() used instead of constructing a SpringSpec directly

@bentrengrove bentrengrove merged commit 4729763 into main Aug 7, 2023
9 checks passed
@bentrengrove bentrengrove deleted the 1.6 branch August 7, 2023 22:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Navigation Material] Crash when using ModalBottomSheetLayout with compose 1.6 Support Compose 1.6.x
3 participants