mirror of
https://github.com/writeas/writefreely-swiftui-multiplatform.git
synced 2024-11-15 01:11:02 +00:00
Merge pull request #162 from writeas/add-review-link
Add link to write a review in the App Store
This commit is contained in:
commit
ac98cd2030
@ -29,6 +29,7 @@ class WriteFreelyModel: ObservableObject {
|
|||||||
// swiftlint:disable line_length
|
// swiftlint:disable line_length
|
||||||
let helpURL = URL(string: "https://discuss.write.as/c/help/5")!
|
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 howToURL = URL(string: "https://discuss.write.as/t/using-the-writefreely-ios-app/1946")!
|
||||||
|
let reviewURL = URL(string: "https://apps.apple.com/app/id1531530896?action=write-review")!
|
||||||
let licensesURL = URL(string: "https://github.com/writeas/writefreely-swiftui-multiplatform/tree/main/Shared/Resources/Licenses")!
|
let licensesURL = URL(string: "https://github.com/writeas/writefreely-swiftui-multiplatform/tree/main/Shared/Resources/Licenses")!
|
||||||
// swiftlint:enable line_length
|
// swiftlint:enable line_length
|
||||||
|
|
||||||
|
@ -13,7 +13,7 @@ struct SettingsView: View {
|
|||||||
Section(header: Text("Appearance")) {
|
Section(header: Text("Appearance")) {
|
||||||
PreferencesView(preferences: model.preferences)
|
PreferencesView(preferences: model.preferences)
|
||||||
}
|
}
|
||||||
Section(header: Text("Support Links")) {
|
Section(header: Text("External Links")) {
|
||||||
HStack {
|
HStack {
|
||||||
Spacer()
|
Spacer()
|
||||||
Link("View the Guide", destination: model.howToURL)
|
Link("View the Guide", destination: model.howToURL)
|
||||||
@ -24,6 +24,11 @@ struct SettingsView: View {
|
|||||||
Link("Visit the Help Forum", destination: model.helpURL)
|
Link("Visit the Help Forum", destination: model.helpURL)
|
||||||
Spacer()
|
Spacer()
|
||||||
}
|
}
|
||||||
|
HStack {
|
||||||
|
Spacer()
|
||||||
|
Link("Write a Review on the App Store", destination: model.reviewURL)
|
||||||
|
Spacer()
|
||||||
|
}
|
||||||
}
|
}
|
||||||
Section(header: Text("Acknowledgements")) {
|
Section(header: Text("Acknowledgements")) {
|
||||||
VStack {
|
VStack {
|
||||||
|
Loading…
Reference in New Issue
Block a user