pull/2240/head
kunfei 2 years ago
parent 2376c6a8ce
commit b274032099
  1. 6
      app/src/main/java/io/legado/app/ui/rss/source/manage/RssSourceActivity.kt

@ -329,8 +329,14 @@ class RssSourceActivity : VMBaseActivity<ActivityRssSourceBinding, RssSourceView
} }
override fun del(source: RssSource) { override fun del(source: RssSource) {
alert(R.string.delete_source) {
setMessage(getString(R.string.sure_del) + "\n" + source.sourceName)
noButton()
yesButton {
viewModel.del(source) viewModel.del(source)
} }
}
}
override fun edit(source: RssSource) { override fun edit(source: RssSource) {
startActivity<RssSourceEditActivity> { startActivity<RssSourceEditActivity> {

Loading…
Cancel
Save