diff options
author | Scott Jackson <daneren2005@gmail.com> | 2013-05-13 19:54:26 -0700 |
---|---|---|
committer | Scott Jackson <daneren2005@gmail.com> | 2013-05-13 19:54:26 -0700 |
commit | e9bbc0422eb8b03c2920b2968c049643099df6db (patch) | |
tree | c9d325c1f91966a82c8925b21fc194849a126ed9 | |
parent | e67d8ee7d1c4b15f435fabfe1469f7af5967d2b1 (diff) | |
download | dsub-e9bbc0422eb8b03c2920b2968c049643099df6db.tar.gz dsub-e9bbc0422eb8b03c2920b2968c049643099df6db.tar.bz2 dsub-e9bbc0422eb8b03c2920b2968c049643099df6db.zip |
Fix titles being changed at wrong time
3 files changed, 4 insertions, 3 deletions
diff --git a/subsonic-android/src/github/daneren2005/dsub/fragments/SearchFragment.java b/subsonic-android/src/github/daneren2005/dsub/fragments/SearchFragment.java index c2fc289d..446285d1 100644 --- a/subsonic-android/src/github/daneren2005/dsub/fragments/SearchFragment.java +++ b/subsonic-android/src/github/daneren2005/dsub/fragments/SearchFragment.java @@ -66,7 +66,6 @@ public class SearchFragment extends SubsonicFragment { @Override
public void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
- setTitle(R.string.button_bar_search);
}
@Override
diff --git a/subsonic-android/src/github/daneren2005/dsub/fragments/SelectArtistFragment.java b/subsonic-android/src/github/daneren2005/dsub/fragments/SelectArtistFragment.java index a7960577..50afbcc6 100644 --- a/subsonic-android/src/github/daneren2005/dsub/fragments/SelectArtistFragment.java +++ b/subsonic-android/src/github/daneren2005/dsub/fragments/SelectArtistFragment.java @@ -42,7 +42,6 @@ public class SelectArtistFragment extends SubsonicFragment implements AdapterVie @Override
public void onCreate(Bundle bundle) {
super.onCreate(bundle);
- setTitle(R.string.search_artists);
}
@Override
@@ -151,6 +150,8 @@ public class SelectArtistFragment extends SubsonicFragment implements AdapterVie }
private void load(final boolean refresh) {
+ setTitle(R.string.search_artists);
+
if (Util.isOffline(context)) {
folderButton.setVisibility(View.GONE);
} else {
diff --git a/subsonic-android/src/github/daneren2005/dsub/fragments/SelectPlaylistFragment.java b/subsonic-android/src/github/daneren2005/dsub/fragments/SelectPlaylistFragment.java index 7bbdb7a9..1369eef0 100644 --- a/subsonic-android/src/github/daneren2005/dsub/fragments/SelectPlaylistFragment.java +++ b/subsonic-android/src/github/daneren2005/dsub/fragments/SelectPlaylistFragment.java @@ -41,7 +41,6 @@ public class SelectPlaylistFragment extends SubsonicFragment implements AdapterV @Override
public void onCreate(Bundle bundle) {
super.onCreate(bundle);
- setTitle(R.string.playlist_label);
}
@Override
@@ -158,6 +157,8 @@ public class SelectPlaylistFragment extends SubsonicFragment implements AdapterV }
private void load(final boolean refresh) {
+ setTitle(R.string.playlist_label);
+
BackgroundTask<List<Playlist>> task = new TabBackgroundTask<List<Playlist>>(this) {
@Override
protected List<Playlist> doInBackground() throws Throwable {
|