@ -73,7 +73,7 @@ object Help {
/**
* 适配刘海
*/
fun uplayoutInDisplayCutoutMode(window: Window) {
fun upLayoutInDisplayCutoutMode(window: Window) {
if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.P) {
window.attributes = window.attributes.apply {
layoutInDisplayCutoutMode =
@ -69,7 +69,7 @@ class ReadBookActivity : VMBaseActivity<ReadBookViewModel>(R.layout.activity_boo
override var readAloudStatus = Status.STOP
override fun onActivityCreated(savedInstanceState: Bundle?) {
Help.uplayoutInDisplayCutoutMode(window)
Help.upLayoutInDisplayCutoutMode(window)
setSupportActionBar(toolbar)
initView()
viewModel.callBack = this