Skip to content

Commit

Permalink
Add link to xkcd store
Browse files Browse the repository at this point in the history
  • Loading branch information
codetheweb committed Mar 23, 2021
1 parent 3d7b387 commit 9bc07e7
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions XKCDY/Views/SettingsSheet.swift
Original file line number Diff line number Diff line change
Expand Up @@ -195,6 +195,16 @@ struct SettingsSheet: View {
}
}
}

Group {
Text("Want to support Randall Munroe (the creator of xkcd) instead?")

Button(action: {
UIApplication.shared.open(URL(string: "https://store.xkcd.com/")!)
}) {
Text("Check out the xkcd store!")
}
}.padding(.top, 10)
}

SettingsGroup(label: "Options") {
Expand Down

0 comments on commit 9bc07e7

Please sign in to comment.