Skip to content

Conversation

@PureWeen
Copy link
Member

Description of Change

The foreground color update code used for ActivityIndicator is about 10 years old and doesn't match up with any of our current techniques. This PR updates to a better version of updating/resetting AI defaults so we don't have to depend on reflection

@PureWeen PureWeen requested review from mattleibow and simonrozsival and removed request for StephaneDelcroix and tj-devel709 March 15, 2024 17:24
@simonrozsival
Copy link
Member

@PureWeen there are two more FrameworkElementExtensions.cs with the same code. Can we apply the same patterns to those two cases as well?

@PureWeen
Copy link
Member Author

@PureWeen there are two more FrameworkElementExtensions.cs with the same code. Can we apply the same patterns to those two cases as well?

I deleted the extra one in the controls project that wasn't doing anything.
I left the one in the compatibility project alone though because we're not currently touching any of those files and don't really need to make them trim friendly

If anyone is using the compatibility project bits they aren't going to be AOT successful

@rmarinho rmarinho merged commit eb58108 into net9.0 Mar 21, 2024
@rmarinho rmarinho deleted the fix_activityindicator_color branch March 21, 2024 20:05
@github-actions github-actions bot locked and limited conversation to collaborators Apr 21, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants