we do need to tag the item in addQueueItemAt
This commit is contained in:
parent
721bfc064a
commit
3638eed220
|
@ -318,8 +318,7 @@ public class DBWriter {
|
||||||
if (item != null) {
|
if (item != null) {
|
||||||
queue.add(index, item);
|
queue.add(index, item);
|
||||||
adapter.setQueue(queue);
|
adapter.setQueue(queue);
|
||||||
// no need to tag the item here, since we got it right out of the database
|
item.addTag(FeedItem.TAG_QUEUE);
|
||||||
// and no one is ever going to see it...
|
|
||||||
EventBus.getDefault().post(new QueueEvent(QueueEvent.Action.ADDED, item, index));
|
EventBus.getDefault().post(new QueueEvent(QueueEvent.Action.ADDED, item, index));
|
||||||
if (item.isNew()) {
|
if (item.isNew()) {
|
||||||
DBWriter.markItemPlayed(FeedItem.UNPLAYED, item.getId());
|
DBWriter.markItemPlayed(FeedItem.UNPLAYED, item.getId());
|
||||||
|
|
Loading…
Reference in New Issue