mirror of
https://github.com/UrbanApps/Armchair.git
synced 2026-03-21 08:59:32 +01: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"?>
|
||||
<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>
|
||||
<deployment identifier="iOS"/>
|
||||
<plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="6239"/>
|
||||
<plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="6238"/>
|
||||
<capability name="Constraints to layout margins" minToolsVersion="6.0"/>
|
||||
</dependencies>
|
||||
<scenes>
|
||||
|
||||
@@ -1203,7 +1203,7 @@ public class Manager : ArmchairManager {
|
||||
if (alertView.cancelButtonIndex == buttonIndex || 0 == buttonIndex) {
|
||||
// they don't want to rate it
|
||||
dontRate()
|
||||
} else if (showsRemindButton() && alertView.firstOtherButtonIndex == buttonIndex) {
|
||||
} else if (showsRemindButton() && 1 == buttonIndex) {
|
||||
// remind them later
|
||||
remindMeLater()
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user