Forgot this
This commit is contained in:
parent
c67b7092fb
commit
ceca8207ad
@ -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!!)
|
MaterialAlertDialogBuilder(activity!!)
|
||||||
.setTitle(R.string.feed)
|
.setTitle(R.string.feed)
|
||||||
.setMessage(activity!!.getString(R.string.feed_add, name))
|
.setMessage(activity!!.getString(R.string.feed_add, name))
|
||||||
|
Loading…
x
Reference in New Issue
Block a user