Forgot this
This commit is contained in:
parent
c67b7092fb
commit
ceca8207ad
1 changed files with 5 additions and 1 deletions
|
|
@ -232,7 +232,11 @@ open class SourceFeedController :
|
|||
)
|
||||
}
|
||||
},
|
||||
onSavedSearchDeleteClicked = { idOfSearch, name ->
|
||||
onSavedSearchDeleteClicked = cb@{ idOfSearch, name ->
|
||||
if (presenter.hasTooManyFeeds()) {
|
||||
activity?.toast(R.string.too_many_in_feed)
|
||||
return@cb
|
||||
}
|
||||
MaterialAlertDialogBuilder(activity!!)
|
||||
.setTitle(R.string.feed)
|
||||
.setMessage(activity!!.getString(R.string.feed_add, name))
|
||||
|
|
|
|||
Loading…
Reference in a new issue