wordpress-mobile / MediaPicker-iOS

WPMediaPicker is an iOS controller that allows capture and picking of media assets.
GNU General Public License v2.0
110 stars 37 forks source link

Invalidate custom header layout if trait collection changes #380

Closed frosty closed 2 years ago

frosty commented 2 years ago

This PR invalides the layout for a custom header (if provided) in the case that the trait collection changes. This allows the custom header view to potentially resize itself to handle the trait change (for example, when the dynamic type size changes).

To test

Please test using the steps in the associated WPiOS PR: https://github.com/wordpress-mobile/WordPress-iOS/pull/17795