This has been resolved iOS 14.5 beta 2. You can view the release notes - https://developer.apple.com/documentation/ios-ipados-release-notes/ios-ipados-14_5-beta-release-notes for more information on new features and resolved issues.
Setting .preferredColorScheme(nil) now correctly resets to the system’s preferred color scheme. (67000774)
If you are not using the latest beta software or Xcode releases then you will have to wait for the final release of iOS 14.5 which should be available in a couple of weeks.
Topic:
UI Frameworks
SubTopic:
SwiftUI
Tags: