Merge pull request #2224 from rizwankce/fix/title-for-about-view
About View Title
This commit is contained in:
commit
265899f6e2
|
@ -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"))
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue