mirror of
https://github.com/UrbanApps/Armchair.git
synced 2026-07-10 23:02:51 +02:00
Workaround for Apple bug where firstOtherButtonIndex is not being set
This commit is contained in:
@@ -1,8 +1,7 @@
|
|||||||
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||||
<document type="com.apple.InterfaceBuilder3.CocoaTouch.Storyboard.XIB" version="3.0" toolsVersion="6246" systemVersion="13E28" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" useTraitCollections="YES" initialViewController="d2j-86-NpT">
|
<document type="com.apple.InterfaceBuilder3.CocoaTouch.Storyboard.XIB" version="3.0" toolsVersion="6245" systemVersion="13E28" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" useTraitCollections="YES" initialViewController="d2j-86-NpT">
|
||||||
<dependencies>
|
<dependencies>
|
||||||
<deployment identifier="iOS"/>
|
<plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="6238"/>
|
||||||
<plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="6239"/>
|
|
||||||
<capability name="Constraints to layout margins" minToolsVersion="6.0"/>
|
<capability name="Constraints to layout margins" minToolsVersion="6.0"/>
|
||||||
</dependencies>
|
</dependencies>
|
||||||
<scenes>
|
<scenes>
|
||||||
|
|||||||
@@ -1203,7 +1203,7 @@ public class Manager : ArmchairManager {
|
|||||||
if (alertView.cancelButtonIndex == buttonIndex || 0 == buttonIndex) {
|
if (alertView.cancelButtonIndex == buttonIndex || 0 == buttonIndex) {
|
||||||
// they don't want to rate it
|
// they don't want to rate it
|
||||||
dontRate()
|
dontRate()
|
||||||
} else if (showsRemindButton() && alertView.firstOtherButtonIndex == buttonIndex) {
|
} else if (showsRemindButton() && 1 == buttonIndex) {
|
||||||
// remind them later
|
// remind them later
|
||||||
remindMeLater()
|
remindMeLater()
|
||||||
} else {
|
} else {
|
||||||
|
|||||||
Reference in New Issue
Block a user