Add title for About view

This commit is contained in:
Rizwan Mohamed Ibrahim 2020-07-07 12:22:55 +05:30
parent 2e94ae9e8e
commit cbce799e01
No known key found for this signature in database
GPG Key ID: D5BEE468D448BCC5

View File

@ -17,7 +17,7 @@ struct SettingsAboutView: View {
GeometryReader { geometry in
List {
Text("NetNewsWire").font(.largeTitle)
AttributedStringView(string: self.viewModel.about, preferredMaxLayoutWidth: geometry.size.width - 20)
AttributedStringView(string: self.viewModel.about, preferredMaxLayoutWidth: geometry.size.width - 20)
Section(header: Text("CREDITS")) {
AttributedStringView(string: self.viewModel.credits, preferredMaxLayoutWidth: geometry.size.width - 20)
}
@ -29,6 +29,7 @@ struct SettingsAboutView: View {
}
}.listStyle(InsetGroupedListStyle())
}
.navigationTitle(Text("About"))
}
}