Add title for About view

This commit is contained in:
Rizwan Mohamed Ibrahim committed 2020-07-07 12:22:55 +05:30
1 parent 2e94ae9e8e
commit cbce799e01
1 file changed
+2 -1
@@ -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"))
}
}