i have one screen on my app witch gets data from firebase and then displays it. But i want to have 2 Text() view the one below the other, but for some reason the text is not displaying in the left of the view
The problem:
My Code:
struct ResourceItem: View {
var title: String
var url: String
var body: some View {
VStack {
Link(destination: URL(string: url)!) {
Text(title)
.bold()
.font(.system(size: 18))
Text(url)
.bold()
.foregroundColor(.gray)
}
}
}
}