diff options
author | Scott Jackson <daneren2005@gmail.com> | 2014-02-26 18:52:44 -0800 |
---|---|---|
committer | Scott Jackson <daneren2005@gmail.com> | 2014-02-26 18:52:44 -0800 |
commit | e47e77d20a69155f594f2cbca97504aaa9a63632 (patch) | |
tree | 06c8601679d94127021375e783337661bba004e4 | |
parent | c89f6902b47a12bb2f27dbf5e8f05fd0586be329 (diff) | |
download | dsub-e47e77d20a69155f594f2cbca97504aaa9a63632.tar.gz dsub-e47e77d20a69155f594f2cbca97504aaa9a63632.tar.bz2 dsub-e47e77d20a69155f594f2cbca97504aaa9a63632.zip |
Fix opening to library not updating drawer selection
-rw-r--r-- | src/github/daneren2005/dsub/activity/SubsonicFragmentActivity.java | 3 |
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);
|