Merge pull request #5361 from ByteHamster/mark-non-new
Only change item state if it is actually in the inbox
This commit is contained in:
commit
ddae5e2278
|
@ -33,8 +33,9 @@ public class RemoveFromInboxSwipeAction implements SwipeAction {
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void performAction(FeedItem item, Fragment fragment, FeedItemFilter filter) {
|
public void performAction(FeedItem item, Fragment fragment, FeedItemFilter filter) {
|
||||||
FeedItemMenuHandler.markReadWithUndo(fragment,
|
if (item.isNew()) {
|
||||||
item, FeedItem.UNPLAYED, willRemove(filter));
|
FeedItemMenuHandler.markReadWithUndo(fragment, item, FeedItem.UNPLAYED, willRemove(filter));
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
|
Loading…
Reference in New Issue