youtube / youtube-ios-player-helper

Lightweight helper library that allows iOS developers to add inline playback of YouTube videos through a WebView
Other
1.64k stars 677 forks source link

Fixing nullability warnings #504

Open sadefigu opened 10 months ago

sadefigu commented 10 months ago

Fixing 10 warnings like the below:

Implicit conversion from nullable pointer 'id _Nullable' to non-nullable pointer type 'NSString * _Nonnull'

The change is basically to compare the variables with nil before trying to use them.

google-cla[bot] commented 10 months ago

Thanks for your pull request! It looks like this may be your first contribution to a Google open source project. Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA).

View this failed invocation of the CLA check for more information.

For the most up to date status, view the checks section at the bottom of the pull request.