title: SwiftUI: How to present view when clicking on a button?
body: <p>I'm trying to make an app using Apple's <strong>SwiftUI</strong> and I need to have two buttons that present two different views in a single <code>List</code> row.</p>
  
  <p>I use <strong>Xcode beta 7</strong> and <strong>MacOS Catalina beta 7</strong>. I've tried to add a <code>Button</code> that present the view but, I couldn't click it and when I tried on a simple <code>Button</code> outside the <code>List</code> and clicked it, the <code>AddList()</code> view didn't appear. I've also tried adding a <code>navigationButton</code> inside <code>navigationButton</code> but it didn't work too. Adding a <code>tapAction</code> doesn't work too when you click on it, the view still does not appear</p>
  
  <pre><code>NavigationView {
              List(0..&lt;5) { item in
                  NavigationLink(destination: ContentOfList()) {
                      Text("hello") // dummy text
                      Spacer()
                      Text("edit")
                          .tapAction {
                              AddList() // This is the view I want to present
                      }
                  }
                  }.navigationBarItems(trailing: NavigationLink(destination: AddList(), label: { // doesn't work within navigationBarItems
                      Image(systemName: "plus.circle.fill")
                  }))
          }
  
  </code></pre>
  
  <p>I expect the <code>AddList()</code> view to appear but in the two cases, it doesn't.</p>