title: Jetpack Compose status bar color not updated in Dark Theme
body: <p>I want to set different colors for dark theme and light theme. Everything works fine except status bar color.</p>
  <p>In dark theme -&gt; my status bar color not updated.</p>
  <p>My theme :</p>
  <pre><code>private val DarkColorPalette = darkColors(
      primary = Color.Black,
      primaryVariant = Color.Black,
      secondary = Color.LightGray
  )
  
  private val LightColorPalette = lightColors(
      primary = Purple500,
      primaryVariant = Purple700,
      secondary = Teal200
  )
  </code></pre>
  <p>My output in Dark theme:</p>
  <p><a href="https://i.stack.imgur.com/HpWsX.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/HpWsX.png" alt="enter image description here" /></a></p>
  <p>Edit:</p>
  <p>I already saw this answer - <a href="https://stackoverflow.com/questions/65610216/how-to-change-statusbar-color-in-jetpack-compose">how to change statusbar color in jetpack compose?</a></p>
  <p>They recommend to use the library. I don't want to use any 3rd party library.</p>
  <p>Edit 2:</p>
  <p>my manifest file</p>
  <pre><code>   &lt;activity
          android:name=&quot;.ActivityTextStyles&quot;
          android:exported=&quot;true&quot;
          android:label=&quot;@string/app_name&quot;
          android:theme=&quot;@style/Theme.ComposeText.NoActionBar&quot; /&gt;
  </code></pre>