title: Return Text from another view Error, missing argument parameter
body: <pre><code>struct SettingsView: View {
      
      var body: some View {
           
           welcomeView()    
                //:Missing argument for parameter 'currentAuthStat' in call
  
       }
  }
  
  struct welcomeView: View {
      @Binding var currentAuthStat: UNNotificationSetting
      
      var body: some View {
          explanatoryText
      }
      
      
      private var explanatoryText: Text {
          let explanatoryText: Text
          switch currentAuthStat {
          case .enabled:
              explanatoryText = Text(&quot;Notifications are enabled&quot;)
              + Text(Image(systemName: &quot;checkmark&quot;))
          default:
              explanatoryText = Text(&quot;Notifications disabled &quot;)
              + Text(Image(systemName: &quot;x.squareroot&quot;)) 
          }
          return explanatoryText
      }//: explanatoryText
  }
  </code></pre>
  <p>when I try to display welcomeView() in the SettingsView I get the error
  &quot;Missing argument for parameter 'currentAuthStat' in call&quot;
  I tried adding @State var to SettingsView but then it gives me an error to make the call in ContentView and when I add it to ContentView it wants me to add that in the App{} @main page and then I get an error app does does not conform to View().</p>
  <p>How can I pass this explanatoryText to another view?</p>