Deleting a media file didn't work correctly
This commit is contained in:
parent
684590665e
commit
196f5407ce
|
@ -101,6 +101,8 @@ public class DBWriter {
|
|||
}
|
||||
if (AppConfig.DEBUG)
|
||||
Log.d(TAG, "Deleting File. Result: " + result);
|
||||
EventDistributor.getInstance().sendQueueUpdateBroadcast();
|
||||
EventDistributor.getInstance().sendUnreadItemsUpdateBroadcast();
|
||||
}
|
||||
}
|
||||
});
|
||||
|
|
|
@ -132,7 +132,7 @@ public class FeedItemMenuHandler {
|
|||
false);
|
||||
break;
|
||||
case R.id.remove_item:
|
||||
DBWriter.deleteFeedMediaOfItem(context, selectedItem.getId());
|
||||
DBWriter.deleteFeedMediaOfItem(context, selectedItem.getMedia().getId());
|
||||
break;
|
||||
case R.id.cancel_download_item:
|
||||
requester.cancelDownload(context, selectedItem.getMedia());
|
||||
|
|
Loading…
Reference in New Issue