-
-
Notifications
You must be signed in to change notification settings - Fork 38
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: implement SetupPreferences to allow usage without Xcode / Android SDK #74
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hey! I hope you don't mind of me chiming in. I was looking for Hacktoberfest projects and stumbled upon this one. Couple of comments regarding these change, I hope useful ones.
MiniSim/Menu.swift
Outdated
return | ||
} | ||
DispatchQueue.global(qos: .userInitiated).async { | ||
do { | ||
var devicesArray: [Device] = [] | ||
try devicesArray.append(contentsOf: DeviceService.getAndroidDevices()) | ||
try devicesArray.append(contentsOf: DeviceService.getIOSDevices()) | ||
if (UserDefaults.standard.enableiOSSimulators) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You don't need to use ()
in if statement.
Thanks for chiming in! I always appreciate another pair of eyes looking at a PR 👍🏻 Applied your comments |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good now!
This PR addresses this feature request: #71 and makes MiniSim available for both Android and iOS native developers!