Skip to content
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

Merged
merged 3 commits into from
Oct 16, 2023

Conversation

okwasniewski
Copy link
Owner

This PR addresses this feature request: #71 and makes MiniSim available for both Android and iOS native developers!

CleanShot 2023-10-10 at 12 16 19@2x

Copy link
Contributor

@Garfeild Garfeild left a 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 Show resolved Hide resolved
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) {
Copy link
Contributor

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.

@okwasniewski
Copy link
Owner Author

okwasniewski commented Oct 15, 2023

@Garfeild

Thanks for chiming in! I always appreciate another pair of eyes looking at a PR 👍🏻 Applied your comments

Copy link
Contributor

@Garfeild Garfeild left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good now!

@okwasniewski okwasniewski merged commit 92c0a19 into main Oct 16, 2023
@okwasniewski okwasniewski deleted the feat/setupPreferences branch October 16, 2023 07:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Feature Request: Use it without Android SDK New feature: show / hide platform sections
2 participants