Skip to content

Commit

Permalink
Fixes iOS 8.2+ radio settings reverting to default
Browse files Browse the repository at this point in the history
"PSRadioGroupSpecifier" settings on iOS 8.2+ reverts back on default when the apps settings gets focus. Using a PSMultiValueSpecifier has a different look and feel but works the same way.
See: http://stackoverflow.com/questions/34389422/ios-settings-bundle-psradiogroupspecifier-does-not-show-selected-value
  • Loading branch information
jrobichaud authored Sep 30, 2016
1 parent 4cf78e4 commit 0e8b9b3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions bin/lib/mappings.js
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ module.exports = {
}
},
radio: {
ios: "PSRadioGroupSpecifier",
ios: "PSMultiValueSpecifier",
android: "ListPreference",
required: ["title", "key", "default"],
attrs: {
Expand Down Expand Up @@ -137,4 +137,4 @@ module.exports = {
// 2. for a slider
// 3. to simulate android summary for fields
}
};
};

0 comments on commit 0e8b9b3

Please sign in to comment.