feat: 优化代码

pull/182/head
kunfei 5 years ago
parent 7887bd755a
commit 9241b61c16
  1. 2
      app/src/main/java/io/legado/app/ui/rss/article/RssSortActivity.kt

@ -16,7 +16,6 @@ import io.legado.app.utils.getViewModel
import io.legado.app.utils.gone
import io.legado.app.utils.visible
import kotlinx.android.synthetic.main.activity_rss_artivles.*
import kotlinx.android.synthetic.main.view_refresh_recycler.*
import org.jetbrains.anko.startActivityForResult
class RssSortActivity : VMBaseActivity<RssSortViewModel>(R.layout.activity_rss_artivles) {
@ -51,7 +50,6 @@ class RssSortActivity : VMBaseActivity<RssSortViewModel>(R.layout.activity_rss_a
}
R.id.menu_clear -> {
viewModel.url?.let {
refresh_progress_bar.isAutoLoading = true
viewModel.clearArticles()
}
}

Loading…
Cancel
Save