mirror of
https://github.com/yairm210/Unciv.git
synced 2025-07-08 23:08:35 +07:00
Removed more double icons
This commit is contained in:
@ -44,7 +44,7 @@ data class TradeOffer(val name: String, val type: TradeType, var amount: Int = 1
|
||||
city?.run { "{$name} (${population.population})" } ?: "Non-existent city"
|
||||
}
|
||||
else -> name
|
||||
}.tr()
|
||||
}.tr(hideIcons = true)
|
||||
|
||||
if (type.numberType == TradeTypeNumberType.Simple || type.numberType == TradeTypeNumberType.Gold) offerText += " ($amount)"
|
||||
else if (name == Constants.researchAgreement) offerText += " (-$amount${Fonts.gold})"
|
||||
|
@ -300,7 +300,7 @@ class GlobalPoliticsOverviewTable (
|
||||
private fun getCivMiniTable(civInfo: Civilization): Table {
|
||||
val table = Table()
|
||||
table.add(ImageGetter.getNationPortrait(civInfo.nation, 25f)).pad(5f)
|
||||
table.add(civInfo.civName.toLabel()).left().padRight(10f)
|
||||
table.add(civInfo.civName.toLabel(hideIcons = true)).left().padRight(10f)
|
||||
table.touchable = Touchable.enabled
|
||||
table.onClick {
|
||||
if (civInfo.isDefeated() || viewingPlayer.isSpectator() || civInfo == viewingPlayer) return@onClick
|
||||
|
Reference in New Issue
Block a user