mirror of
https://github.com/tapframe/NuvioStreaming.git
synced 2026-05-18 07:51:46 +00:00
Merge f2557f9cda into 37203d1fc1
This commit is contained in:
commit
406dfdae52
2 changed files with 7 additions and 0 deletions
|
|
@ -52,6 +52,9 @@ class MainActivity : AppCompatActivity() {
|
||||||
override fun onCreate(savedInstanceState: Bundle?) {
|
override fun onCreate(savedInstanceState: Bundle?) {
|
||||||
installSplashScreen()
|
installSplashScreen()
|
||||||
enableEdgeToEdge(
|
enableEdgeToEdge(
|
||||||
|
statusBarStyle = SystemBarStyle.dark(
|
||||||
|
scrim = android.graphics.Color.TRANSPARENT,
|
||||||
|
),
|
||||||
navigationBarStyle = SystemBarStyle.dark(
|
navigationBarStyle = SystemBarStyle.dark(
|
||||||
scrim = 0xFF020404.toInt(),
|
scrim = 0xFF020404.toInt(),
|
||||||
),
|
),
|
||||||
|
|
|
||||||
|
|
@ -393,6 +393,10 @@ final class RootComposeViewController: UIViewController, UITabBarDelegate {
|
||||||
immersiveController(in: contentController)?.prefersStatusBarHidden ?? false
|
immersiveController(in: contentController)?.prefersStatusBarHidden ?? false
|
||||||
}
|
}
|
||||||
|
|
||||||
|
override var preferredStatusBarStyle: UIStatusBarStyle {
|
||||||
|
.lightContent
|
||||||
|
}
|
||||||
|
|
||||||
override var preferredStatusBarUpdateAnimation: UIStatusBarAnimation {
|
override var preferredStatusBarUpdateAnimation: UIStatusBarAnimation {
|
||||||
.fade
|
.fade
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue