From d5ba63a0a4284c95e4f175fd7c395761cfee1548 Mon Sep 17 00:00:00 2001 From: Philip Messlehner Date: Tue, 24 Jul 2018 10:38:09 +0200 Subject: [PATCH] removed duplicate cancel action --- Source/Armchair.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Source/Armchair.swift b/Source/Armchair.swift index 063c76f..5d71818 100644 --- a/Source/Armchair.swift +++ b/Source/Armchair.swift @@ -1262,7 +1262,7 @@ open class Manager : ArmchairManager { } else { /// Didn't show storekit prompt, present app store manually let alertView : UIAlertController = UIAlertController(title: reviewTitle, message: reviewMessage, preferredStyle: UIAlertControllerStyle.alert) - alertView.addAction(UIAlertAction(title: rateButtonTitle, style:UIAlertActionStyle.cancel, handler: { + alertView.addAction(UIAlertAction(title: rateButtonTitle, style:UIAlertActionStyle.default, handler: { (alert: UIAlertAction!) in self._rateApp() }))