Adds the monster name to MonsterDetail.
This commit is contained in:
@@ -80,6 +80,11 @@ struct BasicInfoView: View {
|
|||||||
let monsterHitPoints = monster.hitPoints
|
let monsterHitPoints = monster.hitPoints
|
||||||
let monsterSpeed = monster.speed
|
let monsterSpeed = monster.speed
|
||||||
|
|
||||||
|
if (!monster.name.isEmpty) {
|
||||||
|
Text(monster.name)
|
||||||
|
.font(.largeTitle)
|
||||||
|
}
|
||||||
|
|
||||||
// meta: "(large humanoid (elf) lawful evil"
|
// meta: "(large humanoid (elf) lawful evil"
|
||||||
if (!monsterMeta.isEmpty) {
|
if (!monsterMeta.isEmpty) {
|
||||||
Text(monsterMeta)
|
Text(monsterMeta)
|
||||||
|
|||||||
Reference in New Issue
Block a user