we do need to tag the item in addQueueItemAt

This commit is contained in:
Tom Hennen 2015-09-20 16:33:57 -04:00
parent 721bfc064a
commit 3638eed220
1 changed files with 1 additions and 2 deletions

View File

@ -318,8 +318,7 @@ public class DBWriter {
if (item != null) {
queue.add(index, item);
adapter.setQueue(queue);
// no need to tag the item here, since we got it right out of the database
// and no one is ever going to see it...
item.addTag(FeedItem.TAG_QUEUE);
EventBus.getDefault().post(new QueueEvent(QueueEvent.Action.ADDED, item, index));
if (item.isNew()) {
DBWriter.markItemPlayed(FeedItem.UNPLAYED, item.getId());