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

Code Quality: Replaced BoolToVisibilityConverter with implicit conversion expression #16723

Merged
merged 4 commits into from
Jan 28, 2025

Conversation

Lamparter
Copy link
Contributor

@Lamparter Lamparter commented Jan 20, 2025

Resolved / Related Issues

Steps used to test these changes

  1. Opened Files
  2. Tested various places where these converters were used

WinUI now allows you to directly apply a boolean value to a UIElement's visibility attribute.
I've gone ahead and replaced the WCT converter with an implicit conversion to make it easier to switch to 8.x down the line and relying less on WCT.

@Lamparter Lamparter marked this pull request as ready for review January 27, 2025 15:32
Copy link
Member

@yaira2 yaira2 left a comment

Choose a reason for hiding this comment

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

LGTM

@yaira2 yaira2 added the ready to merge Pull requests that are approved and ready to merge label Jan 28, 2025
@yaira2 yaira2 merged commit a8a9c27 into files-community:main Jan 28, 2025
6 checks passed
@Lamparter Lamparter deleted the builtin-converters branch January 28, 2025 16:15
yaira2 added a commit that referenced this pull request Jan 28, 2025
…cit conversion expression (#16723)"

This reverts commit a8a9c27.
@yaira2
Copy link
Member

yaira2 commented Jan 29, 2025

This appears to be causing some crashes in the grid view layouts.

@Lamparter
Copy link
Contributor Author

That's not good
I'll investigate that in a bit, thanks for reverting.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ready to merge Pull requests that are approved and ready to merge
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants