-
Notifications
You must be signed in to change notification settings - Fork 44
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Remove hardcoded sys images paths and use newest image for quick devi…
…ce creation (#64) This PR removes hardcoded system image paths that were used when user had no simulators created. As a result, the buttons "Create iPhone" or "Create Android" would do nothing, because we wouldn't be able to find the exact image that was hardcoded. Now, instead of exepecting some particular image, we select the newest available image both for iOS and Android. We also change text on the buttons such that we no longer show the exact name of the device. It wasn't helpful to name the device and on some some resolutions it the spinner that appears on the button was causing the longer text to be misplaced.
- Loading branch information
Showing
2 changed files
with
35 additions
and
24 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters