I actually did type it in directly and wasn't much bothered by the accuracy of it.
But I missed the @Binding part of the code. I assumed the variable being an environmental value is automatically bound.
Apparently not. I know it was a stupid question, but I coded a fair bit of cocoa interfaces and am still struggling to get an understanding of SwiftUI.
So, thank you very much for your help