From 6ee90f6c2a32f210bb4ea8571153aee5c060011d Mon Sep 17 00:00:00 2001 From: Riley Testut Date: Thu, 15 Feb 2024 14:43:34 -0600 Subject: [PATCH] Updates Patreon sign-out alert message to apply to all pledged apps --- AltStore/Settings/PatreonViewController.swift | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/AltStore/Settings/PatreonViewController.swift b/AltStore/Settings/PatreonViewController.swift index 0d874aa6..92f7bdb5 100644 --- a/AltStore/Settings/PatreonViewController.swift +++ b/AltStore/Settings/PatreonViewController.swift @@ -265,7 +265,14 @@ private extension PatreonViewController } } - let alertController = UIAlertController(title: NSLocalizedString("Are you sure you want to unlink your Patreon account?", comment: ""), message: NSLocalizedString("You will no longer have access to beta versions of apps.", comment: ""), preferredStyle: .actionSheet) + + #if MARKETPLACE + let message = NSLocalizedString("You will no longer be able to install or update any apps that require pledges.", comment: "") + #else + let message = NSLocalizedString("You will no longer be able to install or refresh any apps that require pledges.", comment: "") + #endif + + let alertController = UIAlertController(title: NSLocalizedString("Are you sure you want to unlink your Patreon account?", comment: ""), message: message, preferredStyle: .actionSheet) alertController.addAction(UIAlertAction(title: NSLocalizedString("Unlink Patreon Account", comment: ""), style: .destructive) { _ in signOut() }) alertController.addAction(.cancel) self.present(alertController, animated: true, completion: nil)