pull/341/head
gedoor 4 years ago
parent 73a69be4f5
commit bfc6d5f666
  1. 5
      app/src/main/java/io/legado/app/ui/book/read/ReadBookActivity.kt

@ -14,7 +14,6 @@ import android.view.ViewGroup.LayoutParams.WRAP_CONTENT
import androidx.core.view.get import androidx.core.view.get
import androidx.core.view.isVisible import androidx.core.view.isVisible
import androidx.core.view.size import androidx.core.view.size
import androidx.lifecycle.Observer
import com.jaredrummler.android.colorpicker.ColorPickerDialogListener import com.jaredrummler.android.colorpicker.ColorPickerDialogListener
import io.legado.app.BuildConfig import io.legado.app.BuildConfig
import io.legado.app.R import io.legado.app.R
@ -108,11 +107,11 @@ class ReadBookActivity : VMBaseActivity<ReadBookViewModel>(R.layout.activity_boo
initView() initView()
upScreenTimeOut() upScreenTimeOut()
ReadBook.callBack = this ReadBook.callBack = this
ReadBook.titleDate.observe(this, Observer { ReadBook.titleDate.observe(this) {
title_bar.title = it title_bar.title = it
upMenu() upMenu()
upView() upView()
}) }
viewModel.initData(intent) viewModel.initData(intent)
} }

Loading…
Cancel
Save