aboutsummaryrefslogtreecommitdiff
path: root/app/src/main/java
diff options
context:
space:
mode:
authorScott Jackson <daneren2005@gmail.com>2015-05-27 08:35:53 -0700
committerScott Jackson <daneren2005@gmail.com>2015-05-27 08:35:53 -0700
commit507dbc4a002c2acc8b2577a84b0f0b70bc00aa33 (patch)
tree7a49ce5913b396a7a1c777996d0b0fb1eda0783c /app/src/main/java
parent7606a374f95c079c2e88426c177515e05fda1e2b (diff)
downloaddsub-507dbc4a002c2acc8b2577a84b0f0b70bc00aa33.tar.gz
dsub-507dbc4a002c2acc8b2577a84b0f0b70bc00aa33.tar.bz2
dsub-507dbc4a002c2acc8b2577a84b0f0b70bc00aa33.zip
Put playlist removal after deletion back
Diffstat (limited to 'app/src/main/java')
-rw-r--r--app/src/main/java/github/daneren2005/dsub/fragments/SelectPlaylistFragment.java4
1 files changed, 1 insertions, 3 deletions
diff --git a/app/src/main/java/github/daneren2005/dsub/fragments/SelectPlaylistFragment.java b/app/src/main/java/github/daneren2005/dsub/fragments/SelectPlaylistFragment.java
index 8939360c..03decc17 100644
--- a/app/src/main/java/github/daneren2005/dsub/fragments/SelectPlaylistFragment.java
+++ b/app/src/main/java/github/daneren2005/dsub/fragments/SelectPlaylistFragment.java
@@ -201,9 +201,7 @@ public class SelectPlaylistFragment extends SelectRecyclerFragment<Playlist> imp
@Override
protected void done(Void result) {
- // TODO: Redo
- // adapter.remove(playlist);
- adapter.notifyDataSetChanged();
+ adapter.removeItem(playlist);
Util.toast(context, context.getResources().getString(R.string.menu_deleted_playlist, playlist.getName()));
}