title: Status bar stays black when switching between light and dark mode
body: <p>I'm having a weird issue with the status bar where it stays black even when changing to dark mode.</p>
  <p>When launching the app in dark mode, the status bar text is white as expected. Switching to light mode changes the status bar color to black. So far so good. However, if we switch back to dark mode, it stays black when it should've been white.</p>
  <p>I've tried to replicate this issue into an another fresh project, but everything is behaving as expected.</p>
  <p>The <code>UIViewControllerBasedStatusBarAppearance</code> key is set to <code>true</code> and the &quot;Status Bar Style&quot; is set to <code>default</code>.</p>
  <p>Has anyone faced this kind of behaviour and if so, what was the cause?</p>