mirror of
https://github.com/SideStore/SideStore.git
synced 2026-02-18 19:23:43 +01:00
Updates Patreon sign-out alert message to apply to all pledged apps
This commit is contained in:
@@ -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(UIAlertAction(title: NSLocalizedString("Unlink Patreon Account", comment: ""), style: .destructive) { _ in signOut() })
|
||||||
alertController.addAction(.cancel)
|
alertController.addAction(.cancel)
|
||||||
self.present(alertController, animated: true, completion: nil)
|
self.present(alertController, animated: true, completion: nil)
|
||||||
|
|||||||
Reference in New Issue
Block a user