@ -60,7 +60,7 @@ class RssArticlesActivity : VMBaseActivity<RssArticlesViewModel>(R.layout.activi
R.id.menu_clear -> {
viewModel.url?.let {
refresh_progress_bar.isAutoLoading = true
viewModel.clear()
viewModel.clearArticles()
}
@ -106,7 +106,7 @@ class RssArticlesViewModel(application: Application) : BaseViewModel(application
fun clear() {
fun clearArticles() {
execute {
url?.let {
App.db.rssArticleDao().delete(it)