add links to settings page

This commit is contained in:
leminlimez committed 2025-06-01 11:54:37 -04:00
1 parent 0c569562c9
commit e1089d39d5
4 files changed
+23 -4

No files matched your search

+16
View File
@@ -58,6 +58,22 @@ struct SettingsView: View {
}
.buttonStyle(TintedButton(color: .red, fullwidth: true))
}
// MARK: Links
Section {
Link(destination: URL(string: PosterBoardManager.ShortcutURL)!) {
Text("Download Shortcut")
}
.buttonStyle(TintedButton(color: .blue, fullwidth: true))
Link(destination: URL(string: PosterBoardManager.ShortcutURL)!) {
Text("Find Wallpapers")
}
.buttonStyle(TintedButton(color: .blue, fullwidth: true))
} header: {
Text("Links")
}
// TODO: Credits
}
.padding()
.alert(errorAlertTitle ?? "Error", isPresented: $showErrorAlert) {