mirror of
https://github.com/Anuken/Mindustry.git
synced 2026-09-22 13:01:12 +03:00
Fixed #12600
This commit is contained in:
@@ -238,11 +238,8 @@ public class ModsDialog extends BaseDialog{
|
||||
boolean hideDisabled = !mod.isSupported() || mod.hasUnmetDependencies() || mod.hasContentErrors();
|
||||
String shortDesc = mod.meta.shortDescription();
|
||||
|
||||
text.add("[accent]" + Strings.stripColors(mod.meta.displayName) + "\n" +
|
||||
(shortDesc.length() > 0 ? "[lightgray]" + shortDesc + "\n" : "")
|
||||
//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")))
|
||||
text.add("[accent]" + Strings.stripColors(mod.meta.displayName) + "\n"
|
||||
+ (mod.enabled() || hideDisabled ? (shortDesc.length() > 0 ? "[lightgray]" + shortDesc : "") : Core.bundle.get(mod.failed() ? "mod.failed" : "mod.disabled")))
|
||||
.ellipsis(true).top().width(300f).growX().left();
|
||||
|
||||
text.row();
|
||||
|
||||
@@ -26,4 +26,4 @@ org.gradle.caching=true
|
||||
org.gradle.internal.http.socketTimeout=100000
|
||||
org.gradle.internal.http.connectionTimeout=100000
|
||||
android.enableR8.fullMode=false
|
||||
archash=765d68f9e6
|
||||
archash=c4c3707ae8
|
||||
|
||||
Reference in New Issue
Block a user