aboutsummaryrefslogtreecommitdiff
path: root/src/github
diff options
context:
space:
mode:
authordaneren2005 <daneren2005@gmail.com>2013-11-26 10:18:12 -0800
committerdaneren2005 <daneren2005@gmail.com>2013-11-26 10:18:12 -0800
commit735aa44a18252b3fbb90c4bf4633bb27cf61ca64 (patch)
treeb2e66d497812711098c5de0d7a58358ab3bc281a /src/github
parent6b4b353276665c8287cd054b1f2e0a89480c19a7 (diff)
downloaddsub-735aa44a18252b3fbb90c4bf4633bb27cf61ca64.tar.gz
dsub-735aa44a18252b3fbb90c4bf4633bb27cf61ca64.tar.bz2
dsub-735aa44a18252b3fbb90c4bf4633bb27cf61ca64.zip
Update title after done loading
Diffstat (limited to 'src/github')
-rw-r--r--src/github/daneren2005/dsub/fragments/SelectDirectoryFragment.java6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/github/daneren2005/dsub/fragments/SelectDirectoryFragment.java b/src/github/daneren2005/dsub/fragments/SelectDirectoryFragment.java
index 137564ee..235df8dd 100644
--- a/src/github/daneren2005/dsub/fragments/SelectDirectoryFragment.java
+++ b/src/github/daneren2005/dsub/fragments/SelectDirectoryFragment.java
@@ -368,6 +368,12 @@ public class SelectDirectoryFragment extends SubsonicFragment implements Adapter
protected MusicDirectory load(MusicService service) throws Exception {
return service.getMusicDirectory(id, name, refresh, context, this);
}
+
+ @Override
+ protected void done(Pair<MusicDirectory, Boolean> result) {
+ super.done(result);
+ setTitle(result.getFirst().getName());
+ }
}.execute();
}