The problem with putting the if inside one window group is that I want both windows to behave differently. For example, they have different size and position, one shows the title bar and the other doesn't.
Also, the content of the windows is completely different and has different size. if it's a single window it doesn't resize when its view changes.
Topic:
UI Frameworks
SubTopic:
SwiftUI
Tags: