适配SDK30

pull/461/head
gedoor 4 years ago
parent cca8ff7318
commit e9071d4296
  1. 10
      app/src/main/java/io/legado/app/lib/theme/ATH.kt

@ -78,7 +78,10 @@ object ATH {
WindowInsetsController.APPEARANCE_LIGHT_STATUS_BARS
)
} else {
it.setSystemBarsAppearance(0, 0)
it.setSystemBarsAppearance(
0,
WindowInsetsController.APPEARANCE_LIGHT_STATUS_BARS
)
}
}
} else {
@ -120,7 +123,10 @@ object ATH {
WindowInsetsController.APPEARANCE_LIGHT_NAVIGATION_BARS
)
} else {
it.setSystemBarsAppearance(0, 0)
it.setSystemBarsAppearance(
0,
WindowInsetsController.APPEARANCE_LIGHT_NAVIGATION_BARS
)
}
}
} else {

Loading…
Cancel
Save