Fixes the fetched monster on MonsterDetail not updating when the EditMonster view saves.
This commit is contained in:
@@ -63,7 +63,7 @@ struct SmallAbilityScore: View {
|
|||||||
struct MonsterDetail: View {
|
struct MonsterDetail: View {
|
||||||
let kTextColor: Color = Color(hex: 0x982818)
|
let kTextColor: Color = Color(hex: 0x982818)
|
||||||
|
|
||||||
var monster: Monster
|
@ObservedObject var monster: Monster
|
||||||
|
|
||||||
var body: some View {
|
var body: some View {
|
||||||
ScrollView {
|
ScrollView {
|
||||||
|
|||||||
Reference in New Issue
Block a user