Improved order in getNodeType()

This commit is contained in:
CalDescent 2022-07-01 16:48:57 +01:00
parent b329dc41bc
commit 610a3fcf83

View File

@ -125,12 +125,12 @@ public class AdminResource {
} }
private String getNodeType() { private String getNodeType() {
if (Settings.getInstance().isTopOnly()) { if (Settings.getInstance().isLite()) {
return "topOnly";
}
else if (Settings.getInstance().isLite()) {
return "lite"; return "lite";
} }
else if (Settings.getInstance().isTopOnly()) {
return "topOnly";
}
else { else {
return "full"; return "full";
} }