You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix#349: Remove Twitter as profile image source option due to API restrictions (#541)
* fix: Remove Twitter as profile image source option due to API restrictions
* Use a direct enum comparison (e.g., imageType != ImageType.Twitter) instead of string matching on ToString()
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
* Initiate helper method SanitizeImageType
* Comparing enum values via ToString() is fragile and incurs allocations; use a direct enum check (imageType == ImageType.Twitter) instead.
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
* TO fix warning - Moved static method before instance methods
* Converts Twitter ImageType to Anonymous
* Use Linq where statement instead if - to exclude twitter from options
---------
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
0 commit comments