Thanks for answering. Indeed, it is working as it should. However, it does not work when it is closer to the actual method used as shown below, is this the wrong way to do it?
Topic:
UI Frameworks
SubTopic:
SwiftUI
Tags: