This commit is contained in:
Anuken
2026-09-06 10:37:54 -04:00
parent c81d0eb025
commit 06f2dc7032
2 changed files with 3 additions and 6 deletions
@@ -238,11 +238,8 @@ public class ModsDialog extends BaseDialog{
boolean hideDisabled = !mod.isSupported() || mod.hasUnmetDependencies() || mod.hasContentErrors(); boolean hideDisabled = !mod.isSupported() || mod.hasUnmetDependencies() || mod.hasContentErrors();
String shortDesc = mod.meta.shortDescription(); String shortDesc = mod.meta.shortDescription();
text.add("[accent]" + Strings.stripColors(mod.meta.displayName) + "\n" + text.add("[accent]" + Strings.stripColors(mod.meta.displayName) + "\n"
(shortDesc.length() > 0 ? "[lightgray]" + shortDesc + "\n" : "") + (mod.enabled() || hideDisabled ? (shortDesc.length() > 0 ? "[lightgray]" + shortDesc : "") : Core.bundle.get(mod.failed() ? "mod.failed" : "mod.disabled")))
//so does anybody care about version?
//+ "[gray]v" + Strings.stripColors(trimText(item.meta.version)) + "\n"
+ (mod.enabled() || hideDisabled ? "" : Core.bundle.get(mod.failed() ? "mod.failed" : "mod.disabled")))
.ellipsis(true).top().width(300f).growX().left(); .ellipsis(true).top().width(300f).growX().left();
text.row(); text.row();
+1 -1
View File
@@ -26,4 +26,4 @@ org.gradle.caching=true
org.gradle.internal.http.socketTimeout=100000 org.gradle.internal.http.socketTimeout=100000
org.gradle.internal.http.connectionTimeout=100000 org.gradle.internal.http.connectionTimeout=100000
android.enableR8.fullMode=false android.enableR8.fullMode=false
archash=765d68f9e6 archash=c4c3707ae8