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

Emergency Alert toggle switches aren't visible when in Dark Mode #22

Closed
CoryFoy opened this issue Sep 21, 2023 · 1 comment
Closed

Emergency Alert toggle switches aren't visible when in Dark Mode #22

CoryFoy opened this issue Sep 21, 2023 · 1 comment
Assignees
Labels
bug Something isn't working

Comments

@CoryFoy
Copy link
Member

CoryFoy commented Sep 21, 2023

Describe the bug
When accessing the Alert page the toggle switches are washed out when the device is in Dark Mode

Screenshots
image

Additional context
These switches get their background color swapped when being toggle on. The default system color does not appear to be exposed in SwiftUI but there is a workaround that will be shipped with the next TestfFlight

@CoryFoy CoryFoy added the bug Something isn't working label Sep 21, 2023
@CoryFoy CoryFoy added this to the v1.0 App Store milestone Sep 21, 2023
@CoryFoy CoryFoy self-assigned this Sep 21, 2023
@CoryFoy
Copy link
Member Author

CoryFoy commented Sep 21, 2023

Fixed using the System Colors trick from the linked article

Dark Mode

image

Light Mode

image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant