Skip to content

Commit 2c9a22d

Browse files
updated data and app feedback link
1 parent 895239c commit 2c9a22d

File tree

5 files changed

+11
-6
lines changed

5 files changed

+11
-6
lines changed

Podfile.lock

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ EXTERNAL SOURCES:
3131

3232
CHECKOUT OPTIONS:
3333
TrySwiftData:
34-
:commit: 3071c35d133bf26814bfcc5f6b7d49a33432a32b
34+
:commit: 131bdec8d3ec87cbe9e9a9e33878b606f207918f
3535
:git: https://github.com/tryswift/trySwiftData.git
3636

3737
SPEC CHECKSUMS:

Pods/Manifest.lock

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
0 Bytes
Binary file not shown.

Pods/TrySwiftData/TrySwiftData/Models/Conference.swift

Lines changed: 4 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

trySwift/MoreTableViewController.swift

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ class MoreTableViewController: UITableViewController {
1515
fileprivate let cellIdentifier = "BasicCell"
1616
fileprivate let moreDetailSegue = "moreDetailSegue"
1717
fileprivate var didShowDetail = false
18+
fileprivate let conference = Conference.current
1819

1920
fileprivate enum MoreSection: Int {
2021
case eventDetails, acknowledgements, feedback, slack
@@ -172,7 +173,7 @@ private extension MoreTableViewController {
172173

173174
func showCodeOfConduct() {
174175
let webViewController = WebDisplayViewController()
175-
webViewController.url = URL(string: "https://github.com/NatashaTheRobot/trySwiftCodeOfConduct/blob/master/README.md")!
176+
webViewController.url = URL(string: conference.codeOfConductURL)!
176177
webViewController.displayTitle = "Code of Conduct".localized()
177178
performSegue(withIdentifier: moreDetailSegue, sender: webViewController)
178179
}
@@ -196,12 +197,12 @@ private extension MoreTableViewController {
196197
}
197198

198199
func showAppFeedback() {
199-
let url = URL(string: "https://github.com/tryswift/trySwiftAppFinal/issues")!
200+
let url = URL(string: conference.githubIssuesURL)!
200201
openSafariViewController(withURL: url)
201202
}
202203

203204
func showConferenceFeedback() {
204-
let configuration = MailConfiguration(recipients: ["india@tryswift.co"], subject: "Conference feedback via try! Conference app")
205+
let configuration = MailConfiguration(recipients: [conference.email], subject: "Conference feedback via try! Conference app")
205206
sendMail(withConfiguration: configuration)
206207
}
207208

@@ -211,7 +212,7 @@ private extension MoreTableViewController {
211212
if application.canOpenURL(appURL) {
212213
application.open(appURL)
213214
} else {
214-
let url = URL(string: "https://tryswiftindia.slack.com/")!
215+
let url = URL(string: conference.slackURL)!
215216
openSafariViewController(withURL: url)
216217
}
217218
}

0 commit comments

Comments
 (0)