"ok" warnings now colored in 'accept mod errors' popup

This commit is contained in:
yairm210
2024-08-18 11:30:27 +03:00
parent b41b36d43f
commit ebde6e6ec7

View File

@ -38,6 +38,7 @@ internal class AcceptModErrorsPopup(
val warnings = modCheckResult.replace("Error:", "«RED»Error«»:")
.replace("Warning:","«GOLD»Warning«»:")
.replace("OK:","«GREEN»OK«»:")
val label2 = ColorMarkupLabel(warnings)
label2.wrap = true
add(label2).width(wrapWidth)