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
|
||||
public void performAction(FeedItem item, Fragment fragment, FeedItemFilter filter) {
|
||||
FeedItemMenuHandler.markReadWithUndo(fragment,
|
||||
item, FeedItem.UNPLAYED, willRemove(filter));
|
||||
if (item.isNew()) {
|
||||
FeedItemMenuHandler.markReadWithUndo(fragment, item, FeedItem.UNPLAYED, willRemove(filter));
|
||||
}
|
||||
}
|
||||
|
||||
@Override
|
||||
|
|
Loading…
Reference in New Issue