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
commit 265899f6e2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 1 deletions

View File

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