aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/github/daneren2005/dsub/fragments/SearchFragment.java8
1 files changed, 5 insertions, 3 deletions
diff --git a/src/github/daneren2005/dsub/fragments/SearchFragment.java b/src/github/daneren2005/dsub/fragments/SearchFragment.java
index 22a3cff0..0e084c69 100644
--- a/src/github/daneren2005/dsub/fragments/SearchFragment.java
+++ b/src/github/daneren2005/dsub/fragments/SearchFragment.java
@@ -182,9 +182,11 @@ public class SearchFragment extends SubsonicFragment {
@Override
public void setPrimaryFragment(boolean primary) {
super.setPrimaryFragment(primary);
- if(rootView != null && primary) {
- context.onNewIntent(context.getIntent());
- }
+ }
+
+ @Override
+ public void refresh(boolean refresh) {
+ context.onNewIntent(context.getIntent());
}
public void search(final String query, final boolean autoplay) {