Setting overrideUserInterfaceStyle = .unspecified "causes the view controller to inherit the interface style from the system or a parent view controller" which is exactly what we want in this case.
Tested the feature on iOS 14.2 and iOS 12.1 in simulator.
📝 Docs
📲 What
Setting
overrideUserInterfaceStyle = .unspecified
"causes the view controller to inherit the interface style from the system or a parent view controller" which is exactly what we want in this case.Tested the feature on iOS 14.2 and iOS 12.1 in simulator.
🤔 Why
Fixes #379 and simplifies the logic a lot.