Hello @AngelonPro,
I understand that you've already filed a bug report. Thank you for doing so. But could you please attach a focused test project that demonstrates this issue? I have not been able to replicate the first issue where only the button text using .systemBackground color fails to adapt to dark mode. A focused test project would be helpful in this case. If you're not familiar with preparing a test project, please take a look at
Creating a test project.
I do observe that when dark mode is toggled, the colors of a system popover do not change. If it is dismissed and the share button tapped again, a new popover appears with the correct colors. Does that accurately describe the second issue? If so, it is a known issue (FB20928471), but we're not aware of any recommended workaround so far. If you find something that helps you avoid the issue,
please share it with the community by posting it here.
Hello @mgalijot,
While this issue appears to be known, we still encourage you to open a bug report, and post the FB number here once you do. The specific info you include your bug report might help our investigation, and filing the bug report you to get notified when it is resolved.
Bug Reporting: How and Why?
explains how you can open a bug report.
Thank you for your patience,
Richard Yeh Developer Technical Support