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

quick fix out of range error #47

Merged
merged 1 commit into from
Jan 16, 2022
Merged

Conversation

ronaldmannak
Copy link
Contributor

@bejitono ran into an out of range exception in the viewModel. Added a simple range check in SettingsView.

The root cause is likely the complexity of the viewModel. I'm not sure what the best way is to use view models in SwiftUI, this may be something we need to look into later.

@bejitono bejitono merged commit dd6bcb7 into main Jan 16, 2022
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.

None yet

2 participants