-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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
The prompts displayed by DisplayAlert do not follow the theme set #6092
Comments
@emorell96 Thank you so much for your bug report! Unfortunately, we cannot reproduce your issue with the information above, could you provide a sample project/screenshots or more details that we can reproduce your issue? That should greatly speed up the process, thanks! |
Hi @emorell96. We have added the "s/needs-repro" label to this issue, which indicates that we require steps and sample code to reproduce the issue before we can take further action. Please try to create a minimal sample project/solution or code samples which reproduce the issue, ideally as a GitHub repo that we can clone. See more details about creating repros here: https://github.com/dotnet/maui/blob/main/.github/repro.md This issue will be closed automatically in 7 days if we do not hear back from you by then - please feel free to re-open it if you come back to this issue after that time. |
This issue has been automatically marked as stale because it has been marked as requiring author feedback to reproduce the issue but has not had any activity for 4 days. It will be closed if no further activity occurs within 3 days of this comment. If it is closed, feel free to comment when you are able to provide the additional information and we will re-investigate. |
Hi, I'm not sure I understand why #7601 was closed as a duplicate of this issue... it is a completely separate issue that I am experiencing as well. On an Android device set to dark mode, DisplayAlert is presented with a dark gray background and dark (purple?) text that is barely readable. Has a workaround been identified for that issue? Thanks |
THIS IS A BIG PROBLEM. |
I haven't tested on iOS but it should work. |
Much appreciated. You rock, sir. |
So is there any solution for this? Since the one above is for xamarin forms? |
Okay, so just go: $"[YourProject]"/Platforms/Android/Resources/values/colors. Change it there. That is it. |
The solution I mentioned is for both xamarin and MAUI. It works fine for me. From my knowledge, changing the values in I created a plugin that handles some workarounds (maui). If you want, you can check it out here. |
Description
The prompts displayed by DisplayAlert do not adhere to the theme set by using
Application.Current.UserAppTheme
.Steps to Reproduce
Application.Current.UserAppTheme = AppTheme.Dark;
Version with bug
Release Candidate 1 (current)
Last version that worked well
Unknown/Other
Affected platforms
Android
Affected platform versions
API 30, Android 11
Did you find any workaround?
No response
Relevant log output
No response
The text was updated successfully, but these errors were encountered: