mirror of
https://github.com/UrbanApps/Armchair.git
synced 2026-04-25 10:18:44 +02:00
Merge branch 'master' of github.com:UrbanApps/Armchair
This commit is contained in:
@@ -1225,7 +1225,7 @@ open class Manager : ArmchairManager {
|
|||||||
if (operatingSystemVersion >= 8 && usesAlertController) || operatingSystemVersion >= 9 {
|
if (operatingSystemVersion >= 8 && usesAlertController) || operatingSystemVersion >= 9 {
|
||||||
/* iOS 8 uses new UIAlertController API*/
|
/* iOS 8 uses new UIAlertController API*/
|
||||||
let alertView : UIAlertController = UIAlertController(title: reviewTitle, message: reviewMessage, preferredStyle: UIAlertControllerStyle.alert)
|
let alertView : UIAlertController = UIAlertController(title: reviewTitle, message: reviewMessage, preferredStyle: UIAlertControllerStyle.alert)
|
||||||
alertView.addAction(UIAlertAction(title: cancelButtonTitle, style:UIAlertActionStyle.cancel, handler: {
|
alertView.addAction(UIAlertAction(title: cancelButtonTitle, style:UIAlertActionStyle.default, handler: {
|
||||||
(alert: UIAlertAction!) in
|
(alert: UIAlertAction!) in
|
||||||
self.dontRate()
|
self.dontRate()
|
||||||
}))
|
}))
|
||||||
@@ -1235,7 +1235,7 @@ open class Manager : ArmchairManager {
|
|||||||
self.remindMeLater()
|
self.remindMeLater()
|
||||||
}))
|
}))
|
||||||
}
|
}
|
||||||
alertView.addAction(UIAlertAction(title: rateButtonTitle, style:UIAlertActionStyle.default, handler: {
|
alertView.addAction(UIAlertAction(title: rateButtonTitle, style:UIAlertActionStyle.cancel, handler: {
|
||||||
(alert: UIAlertAction!) in
|
(alert: UIAlertAction!) in
|
||||||
self._rateApp()
|
self._rateApp()
|
||||||
}))
|
}))
|
||||||
|
|||||||
Reference in New Issue
Block a user