mirror of
https://github.com/nacabaro/vbhelper.git
synced 2026-06-05 13:52:54 +00:00
Updated opponent list to show display name.
This commit is contained in:
parent
977896d296
commit
3f29d725ea
@ -9,5 +9,6 @@ data class APIBattleCharacter(
|
|||||||
val baseHp: Int,
|
val baseHp: Int,
|
||||||
val currentHp: Int,
|
val currentHp: Int,
|
||||||
val baseBp: Float,
|
val baseBp: Float,
|
||||||
val baseAp: Float
|
val baseAp: Float,
|
||||||
|
val displayName: String? = null
|
||||||
)
|
)
|
||||||
@ -2335,7 +2335,7 @@ fun BattlesScreen() {
|
|||||||
},
|
},
|
||||||
modifier = Modifier.fillMaxWidth()
|
modifier = Modifier.fillMaxWidth()
|
||||||
) {
|
) {
|
||||||
Text("Battle ${opponent.name}")
|
Text("Battle ${opponent.displayName?.takeIf { it.isNotBlank() } ?: opponent.name}")
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user