title: Unable to get button text to change in SwiftUI when changing boolean value
body: <p>I want to have a button that when clicked toggles a boolean and changes the text of the button. By using print statements I can confirm that the button is properly toggling the bool value but it is not changing the text of the button. </p>
  
  <p>I have tried manually setting the bool default value to false and this does change the text but I am still unable to get it to change when toggled.</p>
  
  <pre><code>Button(action: {
                  Variables.userTriangle.cupShooting = 7
                  Variables.userTriangle.triangle[6].toggleStatus()
              }) {
                  if !Variables.userTriangle.triangle[6].status {
                      Text("x")
                          .font(.largeTitle)
                  } else {
                      Text("7")
                          .font(.largeTitle)
                  }
              }
  </code></pre>
  
  <p>When the button it tapped, I expect it to change the value of the text by changing the boolean value. I plan on having multiple of these buttons. </p>