Automattic / Gravatar-SDK-iOS

Gravatar SDK is a Swift library that allows you to integrate Gravatar features into your own iOS applications.
https://gravatar.com
Mozilla Public License 2.0
41 stars 5 forks source link

Use `UIImage(localName:)` to check if the account icon exists. #239

Closed pinarol closed 6 months ago

pinarol commented 6 months ago

Closes #

Description

I noticed we have an unintended bug in account icons. It fallbacks to the webview unnecessarily. This should fix it.

Testing Steps

In any demo screen with a profile card, the account icon should not be shown in the webview.

pinarol commented 6 months ago

Merged in https://github.com/Automattic/Gravatar-SDK-iOS/pull/241