aboutsummaryrefslogtreecommitdiff
path: root/src/github
diff options
context:
space:
mode:
authorScott Jackson <daneren2005@gmail.com>2014-02-26 18:52:44 -0800
committerScott Jackson <daneren2005@gmail.com>2014-02-26 18:52:44 -0800
commite47e77d20a69155f594f2cbca97504aaa9a63632 (patch)
tree06c8601679d94127021375e783337661bba004e4 /src/github
parentc89f6902b47a12bb2f27dbf5e8f05fd0586be329 (diff)
downloaddsub-e47e77d20a69155f594f2cbca97504aaa9a63632.tar.gz
dsub-e47e77d20a69155f594f2cbca97504aaa9a63632.tar.bz2
dsub-e47e77d20a69155f594f2cbca97504aaa9a63632.zip
Fix opening to library not updating drawer selection
Diffstat (limited to 'src/github')
-rw-r--r--src/github/daneren2005/dsub/activity/SubsonicFragmentActivity.java3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/github/daneren2005/dsub/activity/SubsonicFragmentActivity.java b/src/github/daneren2005/dsub/activity/SubsonicFragmentActivity.java
index a17e8bb7..186f19c2 100644
--- a/src/github/daneren2005/dsub/activity/SubsonicFragmentActivity.java
+++ b/src/github/daneren2005/dsub/activity/SubsonicFragmentActivity.java
@@ -101,8 +101,9 @@ public class SubsonicFragmentActivity extends SubsonicActivity {
if (findViewById(R.id.fragment_container) != null && savedInstanceState == null) {
String fragmentType = getIntent().getStringExtra(Constants.INTENT_EXTRA_FRAGMENT_TYPE);
- if(fragmentType == null && Util.isOpenToLibrary(this) {
+ if(fragmentType == null && Util.isOpenToLibrary(this)) {
fragmentType = "Artist";
+ lastSelectedPosition = 1;
}
currentFragment = getNewFragment(fragmentType);