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

fix: avoid usage of forced unwrapping #95

Merged
merged 1 commit into from
Nov 4, 2022
Merged

Conversation

kirillzyusko
Copy link
Owner

📜 Description

Added optional chaining instead of forced unwrapping. Fixes crash described in #93

💡 Motivation and Context

In fact it's not a fix and is more avoiding NPE rather than a full fix. But anyway, missing animation is better, than a crash of application 🤷‍♂️

📢 Changelog

iOS

  • avoid usage of forced unwrapping

🤔 How Has This Been Tested?

Tested locally on:

  • iPhone 13 Pro (iOS 15.0);

📝 Checklist

  • CI successfully passed

@kirillzyusko kirillzyusko added 🐛 bug Something isn't working 🍎 iOS iOS specific labels Nov 4, 2022
@kirillzyusko kirillzyusko self-assigned this Nov 4, 2022
@kirillzyusko kirillzyusko merged commit 9a56d79 into main Nov 4, 2022
@kirillzyusko kirillzyusko deleted the bugfix/swift-npe branch November 4, 2022 16:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🐛 bug Something isn't working 🍎 iOS iOS specific
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant