Skip to content

Commit

Permalink
🔀 Merge pull request #133 from `MrKai77/113-add-link-to-github-repo-i…
Browse files Browse the repository at this point in the history
…n-settings-window`

✨ #113 Add link to GitHub repo in settings window
  • Loading branch information
MrKai77 authored Dec 25, 2023
2 parents 462f5b6 + 971f8a6 commit c58bfad
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions Loop/Settings/MoreSettingsView.swift
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ import Sparkle
import Defaults

struct MoreSettingsView: View {
@Environment(\.openURL) private var openURL
@EnvironmentObject var updater: SoftwareUpdater

@Default(.respectStageManager) var respectStageManager
Expand Down Expand Up @@ -120,6 +121,24 @@ struct MoreSettingsView: View {
}
}
})

Section("Feedback") {
HStack {
Text(
"Sending feedback will bring you to our \"New Issue\" page, " +
"where you can select a template to report a bug, request a feature & more!"
)
.font(.caption)
.foregroundStyle(.secondary)

Button(action: {
openURL(URL(string: "https://github.com/MrKai77/Loop/issues/new/choose")!)
}, label: {
Text("Send Feedback")
})
.controlSize(.large)
}
}
}
.formStyle(.grouped)
.scrollDisabled(true)
Expand Down

0 comments on commit c58bfad

Please sign in to comment.