Skip to content

Commit 34ed0c8

Browse files
committed
FEAT: show popup before Email Support
1 parent c16685b commit 34ed0c8

File tree

1 file changed

+13
-1
lines changed

1 file changed

+13
-1
lines changed

LockdowniOS/AccountVC.swift

+13-1
Original file line numberDiff line numberDiff line change
@@ -335,7 +335,19 @@ final class AccountViewController: BaseViewController, Loadable {
335335
self.performSegue(withIdentifier: "showWhatIsVPN", sender: self)
336336
},
337337
DefaultCell(title: NSLocalizedString("Email Support", comment: "")) {
338-
self.emailTeam()
338+
self.showPopupDialog(
339+
title: nil,
340+
message: NSLocalizedString("We're happy to help answer questions or feedback you have through our email support, but the quickest way to get an answer is to check out our Frequently Asked Questions (FAQs). Do you want to continue to email support?", comment: ""),
341+
buttons: [
342+
.custom(title: NSLocalizedString("See FAQs", comment: ""), completion: {
343+
self.showFAQsModal()
344+
}),
345+
.custom(title: NSLocalizedString("Email Support", comment: ""), completion: {
346+
self.emailTeam()
347+
}),
348+
.cancel()
349+
]
350+
)
339351
},
340352
DefaultCell(title: NSLocalizedString("FAQs", comment: "")) {
341353
self.showFAQsModal()

0 commit comments

Comments
 (0)