On iOS 18, there's a crash when switching the GPHMediaType. in the case where there were results for the media type you were on, and there are no results for the one you're switching to
To Reproduce
(Write your steps here:)
Open a view with the GiphyGridController and perform a search for a gif with a text search term "warthog angel" (warthog angel has gif search results, but no sticker results)
See gif results
Switch the search to be for stickers instead of gifs, here's example code for that:
🐛 Bug Report
On iOS 18, there's a crash when switching the
GPHMediaType
. in the case where there were results for the media type you were on, and there are no results for the one you're switching toTo Reproduce
(Write your steps here:)
GiphyGridController
and perform a search for a gif with a text search term "warthog angel" (warthog angel has gif search results, but no sticker results)Expected behavior
show an empty result for stickers in the giphy grid
(Write what you thought would happen.)
Actual Behavior
I get the following crash
(Write what happened. Add screenshots, if applicable.)
Your Environment
Reproducible Demo
can share if it doesn't seem to reproduce. i didn't do all the work to make this a reduced example, i'm hoping it's an obvious bug that can be fixed