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

api: add TextDecoration#withState and add missing null pointer check #490

Merged
merged 5 commits into from Dec 11, 2021

Conversation

astei
Copy link
Contributor

@astei astei commented Oct 31, 2021

Fixes #431. While we're at it, I noticed there was no null check for the state in the TextDecorationAndStateImpl constructor so I fixed that too.

Copy link
Member

@kezz kezz left a comment

Choose a reason for hiding this comment

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

I wonder if we should deprecate the as method because withState is much clearer? Either way I'm happy though.

@kezz kezz added this to the 4.10.0 milestone Nov 2, 2021
@zml2008 zml2008 force-pushed the feature/textdecoration-withstate branch from 11681e5 to fe8203b Compare December 11, 2021 20:00
@zml2008 zml2008 dismissed kashike’s stale review December 11, 2021 20:01

requested changes have been made

@zml2008 zml2008 self-assigned this Dec 11, 2021
This was referenced Feb 28, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Provide an alternative for TextDecoration#as(boolean)
4 participants