Adds skills display to the monster detail view.

This commit is contained in:
2021-03-21 19:49:03 -07:00
parent 0299213dfa
commit f5c3ce57de
4 changed files with 39 additions and 22 deletions

View File

@@ -124,7 +124,14 @@ struct MonsterDetail: View {
let savingThrowsDescription = monster.savingThrowsDescription
if (!savingThrowsDescription.isEmpty) {
LabeledField("Saving Throws") {
Text(monster.savingThrowsDescription)
Text(savingThrowsDescription)
}
}
let skillsDescription = monster.skillsDescription
if (!skillsDescription.isEmpty) {
LabeledField("Skills") {
Text(skillsDescription)
}
}
}