pull/63/head
kunfei 5 years ago
parent f22aa549d9
commit c323c0959f
  1. 2
      app/src/main/java/io/legado/app/ui/download/DownloadActivity.kt

@ -29,7 +29,7 @@ class DownloadActivity : BaseActivity(R.layout.activity_download) {
private fun initLiveData() { private fun initLiveData() {
bookshelfLiveData?.removeObservers(this) bookshelfLiveData?.removeObservers(this)
bookshelfLiveData?.observe(this, Observer { bookshelfLiveData?.observe(this, Observer {
adapter.setItems(it)
}) })
} }
} }
Loading…
Cancel
Save