Not sure what's going on here. I can see it *trying* to re-generate the view when the color scheme changes, but the adaptive colors aren't adapting.

The view is hosted in a toolbar.

The colors adapt when the view is closed/reopened, so maybe I leave this alone for now. #SwiftUI

My test case works until I add .presentationCompactAdaptation(.popover). So there we go. I'll file that. Not sure Apple will care, though. #iosDev
Here's my test case, a screenshot and the feedback #. https://github.com/tewha/ModeSwitchTest #SwiftUI
GitHub - tewha/ModeSwitchTest: Source provided for FB22414633.

Source provided for FB22414633. Contribute to tewha/ModeSwitchTest development by creating an account on GitHub.

GitHub