Fix playlist item removal
This commit is contained in:
parent
378a5b3a93
commit
3774d386e3
@ -207,7 +207,7 @@ public class PlaylistActivity extends Activity
|
||||
int pos = intent.getIntExtra("position", -1);
|
||||
|
||||
if (itemId == MENU_REMOVE) {
|
||||
mAdapter.remove(pos);
|
||||
mAdapter.remove(pos - mListView.getHeaderViewsCount());
|
||||
} else {
|
||||
performAction(itemId, pos, intent.getLongExtra("audioId", -1));
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user