Please sign in to comment.
Change ReactNetworkForceWifiOnly from String to Boolean (#24829)
Summary: We provided `ReactNetworkForceWifiOnly` in #24242, but it's a string type, actually the value only YES or NO, so let's change it to Boolean type, we can benefit from: 1. Users don't need to type string `YES`, just select bool YES or NO directly by click the button: <img width="789" alt="image" src="https://user-images.githubusercontent.com/5061845/57634311-a8af7400-75d7-11e9-9f8a-ebf865d672e3.png"> 2. Don't need to do string compare. 3. More looks what it should looks, Boolean is the Boolean. :) cc. cpojer ericlewis . [iOS] [Changed] - Change ReactNetworkForceWifiOnly from String to Boolean Pull Request resolved: #24829 Differential Revision: D15323685 Pulled By: cpojer fbshipit-source-id: c626d048d0cbea46d45f232906fd3ac32a412741
- Loading branch information...
Showing with 5 additions and 6 deletions.