mirror of
https://github.com/writeas/writefreely-swiftui-multiplatform.git
synced 2024-11-15 01:11:02 +00:00
Merge pull request #109 from writeas/ios-add-howto-link
Add link to how-to guide for iOS app
This commit is contained in:
commit
e7dff39905
@ -38,6 +38,7 @@ class WriteFreelyModel: ObservableObject {
|
||||
|
||||
// swiftlint:disable line_length
|
||||
let helpURL = URL(string: "https://discuss.write.as/c/help/5")!
|
||||
let howToURL = URL(string: "https://discuss.write.as/t/using-the-writefreely-ios-app/1946")!
|
||||
let licensesURL = URL(string: "https://github.com/writeas/writefreely-swiftui-multiplatform/tree/main/Shared/Resources/Licenses")!
|
||||
// swiftlint:enable line_length
|
||||
|
||||
|
@ -13,10 +13,15 @@ struct SettingsView: View {
|
||||
Section(header: Text("Appearance")) {
|
||||
PreferencesView(preferences: model.preferences)
|
||||
}
|
||||
Section(header: Text("Support")) {
|
||||
Section(header: Text("Support Links")) {
|
||||
HStack {
|
||||
Spacer()
|
||||
Link("Visit Help Forum", destination: model.helpURL)
|
||||
Link("View the Guide", destination: model.howToURL)
|
||||
Spacer()
|
||||
}
|
||||
HStack {
|
||||
Spacer()
|
||||
Link("Visit the Help Forum", destination: model.helpURL)
|
||||
Spacer()
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user