aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorScott Jackson <daneren2005@gmail.com>2014-09-09 16:10:45 -0700
committerScott Jackson <daneren2005@gmail.com>2014-09-09 16:10:45 -0700
commit02d30d2a4c9f582b294af7ae5a7e4ea43fea4ad5 (patch)
tree5eb19831483bcf56394dde42fe634d0c5507f46d /src
parentfb563d329d67c5f1179e2919207da16814ef3037 (diff)
downloaddsub-02d30d2a4c9f582b294af7ae5a7e4ea43fea4ad5.tar.gz
dsub-02d30d2a4c9f582b294af7ae5a7e4ea43fea4ad5.tar.bz2
dsub-02d30d2a4c9f582b294af7ae5a7e4ea43fea4ad5.zip
Use generic sort wrapper
Diffstat (limited to 'src')
-rw-r--r--src/github/daneren2005/dsub/service/parser/MusicDirectoryParser.java4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/github/daneren2005/dsub/service/parser/MusicDirectoryParser.java b/src/github/daneren2005/dsub/service/parser/MusicDirectoryParser.java
index 05e8b274..a5500505 100644
--- a/src/github/daneren2005/dsub/service/parser/MusicDirectoryParser.java
+++ b/src/github/daneren2005/dsub/service/parser/MusicDirectoryParser.java
@@ -96,9 +96,7 @@ public class MusicDirectoryParser extends MusicDirectoryEntryParser {
validate();
// Only apply sorting on server version 4.7 and greater, where disc is supported
- if(ServerInfo.checkServerVersion(context, "1.8.0", instance)) {
- dir.sortChildren(Util.getPreferences(context).getBoolean(Constants.PREFERENCES_KEY_CUSTOM_SORT_ENABLED, true));
- }
+ dir.sortChildren(context, instance);
return dir;
}