How to fix unable to infer complex closure return type in SwiftUI

Issue #505

Make sure all String are passed into Text, not Optional<String>

1
2
3
4
5
VStack {
Text(data.title)
Text(data.description!)
Text(data.text!)
}

Comments