its the same code, but the part where I call the function isn't supposed to be there, and the code in the function on the wrong copy should just be part of the main program. there should be no function.
Topic:
UI Frameworks
SubTopic:
SwiftUI