Merge pull request #2224 from rizwankce/fix/title-for-about-view

About View Title
This commit is contained in:
Maurice Parker
2020-07-07 10:18:41 -05:00
committed by GitHub

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"))
}
}