title: Why list menu items not shown in SwiftUI project?
body: <p>I have list item menu project in SwiftUI, my project work, but I have list icons,  they are not shown in list view, even I was try to use system image, there is not any change on screen, any idea?</p>
  <pre><code>struct MasterView: View {
  
  let  view1 =  Menu(name:&quot;Home&quot;, image:&quot;image_home&quot;, destination:.home)
  let  view2 =  Menu(name:&quot;View 1&quot;, image:&quot;image_view1&quot;, destination:.view1)
  let  view3 =  Menu(name:&quot;View 3&quot;, image:&quot;image_view2&quot;, destination:.view2)
  
  var body: some View {
      let menus: [Menu] = [view1, view2, view3]
  
      return List {
          ForEach(menus) { menu in
              self.destinationView(menu: menu)
          }}}
  
  func destinationView(menu: Menu) -&gt; some View {
      
      switch menu.destination {
          case .view1:
              return NavigationLink(
                  destination: AnyView(View1(menu: menu))
              )
              {
                  Text(&quot;\(menu.name)&quot;)
              }
              
          case .view2:
                 return NavigationLink(
                     destination: AnyView(View2(menu: menu))
                 )
                 {
                     Text(&quot;\(menu.name)&quot;)
                 }
          default:
             return NavigationLink(
                 destination: AnyView(HomeView(menu: menu))
             )
             {
                 Text(&quot;\(menu.name)&quot;)
             }}}}
  </code></pre>
  <p><strong>Model.swift:</strong></p>
  <pre><code>/// Main menu item for the list
  struct Menu: Identifiable {
  var id = UUID()
  var name: String
  var image: String
  var destination: ViewType
  }
  
  enum ViewType {
  case home
  case view1
  case view2
  }
  </code></pre>