|
|
@ -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> { |
|
|
|