pull/35/head^2
kunfei 5 years ago
parent 0dfd83f30f
commit b5be12b231
  1. 5
      app/src/main/java/io/legado/app/ui/book/source/edit/BookSourceEditActivity.kt

@ -54,9 +54,7 @@ class BookSourceEditActivity :
viewModel.sourceLiveData.observe(this, Observer {
upRecyclerView(it)
})
intent.getStringExtra("data")?.let {
viewModel.setBookSource(it)
}
viewModel.setBookSource(intent.getStringExtra("data"))
}
override fun onDestroy() {
@ -113,7 +111,6 @@ class BookSourceEditActivity :
setEditEntities(tab?.position)
}
})
upRecyclerView(null)
}
private fun setEditEntities(tabPosition: Int?) {

Loading…
Cancel
Save