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

[Compose] Upgrade to Alpha 11 #1732

Merged
merged 1 commit into from
Jan 30, 2021
Merged

Conversation

jossiwolf
Copy link
Contributor

@jossiwolf jossiwolf commented Jan 29, 2021

Upgrades Compose to Alpha 11!
I migrated some deprecated APIs, mostly related to effects. Also wrapped the player controls and toolbar in the AnimatedVisibility composable so toggling focus mode feels a little less jumpy.
Did some manual testing and everything looks good in the sample app 🎉

Let me know what you think about the content descriptions for icons - I'll be happy to add some, but you tell me if it's needed!

onCommit(applyOpacityToLayers.value) {
animationState.applyOpacityToLayers = applyOpacityToLayers.value
}
animationState.outlineMasksAndMattes = outlineMasksAndMattes.value
Copy link
Contributor Author

Choose a reason for hiding this comment

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

I am not exactly sure about this one - I don't think the onCommit was needed. Let me know what you think! Maybe this should actually be a SideEffect?

@LottieSnapshotBot
Copy link

Snapshot Tests
28: Report Diff

Copy link
Collaborator

@gpeal gpeal left a comment

Choose a reason for hiding this comment

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

Looks good! Just one comment

@jossiwolf jossiwolf force-pushed the jwolf/compose-alpha11 branch from 56ec0f5 to 068b402 Compare January 29, 2021 23:15
@LottieSnapshotBot
Copy link

Snapshot Tests
28: Report Diff

@gpeal gpeal merged commit 2ccdac0 into airbnb:master Jan 30, 2021
@jossiwolf jossiwolf deleted the jwolf/compose-alpha11 branch February 1, 2021 17:23
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.

3 participants