| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
|
The property userInterfaceStyle doesn't exist on UITraitCollection before iOS 12. This isn't obvious in the code. I think it would be more obvious if you check for major version at the beginning of the systemAppearance getter and if < 12 return light or undefined explicitly. Maybe null is better than undefined. |
Sorry, something went wrong.
|
test --ignore cuteness uitests#vchimev/dark-mode/fixes ios10 ios11 ios12 ios13 |
Sorry, something went wrong.
|
test --ignore cuteness uitests#vchimev/dark-mode/fixes ios10 ios11 ios12 ios13 |
Sorry, something went wrong.
|
test --ignore cuteness uitests#vchimev/dark-mode/fixes ios10 ios11 ios12 ios13 |
Sorry, something went wrong.
| Back | FazBrowse Home | New Git URL |
PR Checklist
Fix that UIUserInterfaceStyle is undefined for iOS <= 11.
Add tests for the system appearance property and system appearance root view CSS classes.
Relates to #7800.