Skip to content

Commit

Permalink
Fix long press menu in feed
Browse files Browse the repository at this point in the history
  • Loading branch information
Stypox committed Jun 9, 2021
1 parent a0a6cd2 commit 60b5de3
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -323,6 +323,7 @@ class FeedFragment : BaseStateFragment<FeedState>() {
)
}

StreamDialogEntry.setEnabledEntries(entries)
InfoItemDialog(activity, item, StreamDialogEntry.getCommands(context)) { _, which ->
StreamDialogEntry.clickOn(which, this, item)
}.show()
Expand Down Expand Up @@ -400,7 +401,7 @@ class FeedFragment : BaseStateFragment<FeedState>() {
}

private fun handleItemsErrors(errors: List<Throwable>) {
errors.forEachIndexed() { i, t ->
errors.forEachIndexed { i, t ->
if (t is FeedLoadService.RequestException &&
t.cause is ContentNotAvailableException
) {
Expand Down

0 comments on commit 60b5de3

Please sign in to comment.