mirror of
https://github.com/writeas/writefreely-swiftui-multiplatform.git
synced 2024-11-15 01:11:02 +00:00
Add link to write a review in the App Store
This commit is contained in:
parent
1d1d4927b3
commit
724478a80a
@ -29,6 +29,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 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")!
|
||||
// swiftlint:enable line_length
|
||||
|
||||
|
@ -7,12 +7,12 @@
|
||||
<key>WriteFreely-MultiPlatform (iOS).xcscheme_^#shared#^_</key>
|
||||
<dict>
|
||||
<key>orderHint</key>
|
||||
<integer>0</integer>
|
||||
<integer>1</integer>
|
||||
</dict>
|
||||
<key>WriteFreely-MultiPlatform (macOS).xcscheme_^#shared#^_</key>
|
||||
<dict>
|
||||
<key>orderHint</key>
|
||||
<integer>1</integer>
|
||||
<integer>0</integer>
|
||||
</dict>
|
||||
</dict>
|
||||
</dict>
|
||||
|
@ -13,7 +13,7 @@ struct SettingsView: View {
|
||||
Section(header: Text("Appearance")) {
|
||||
PreferencesView(preferences: model.preferences)
|
||||
}
|
||||
Section(header: Text("Support Links")) {
|
||||
Section(header: Text("External Links")) {
|
||||
HStack {
|
||||
Spacer()
|
||||
Link("View the Guide", destination: model.howToURL)
|
||||
@ -24,6 +24,11 @@ struct SettingsView: View {
|
||||
Link("Visit the Help Forum", destination: model.helpURL)
|
||||
Spacer()
|
||||
}
|
||||
HStack {
|
||||
Spacer()
|
||||
Link("Write a Review on the App Store", destination: model.reviewURL)
|
||||
Spacer()
|
||||
}
|
||||
}
|
||||
Section(header: Text("Acknowledgements")) {
|
||||
VStack {
|
||||
|
Loading…
Reference in New Issue
Block a user