This commit changes the way unthemed icons (for display in the icon requests section) are loaded by Glide. Where it would previously load by package name (presumably using a custom resource but I didn't find it), it's now getting the drawable directly. This fixes VectorDrawables going unhandled and showing up as blank.
Similarly, getRightIcon returning null would cause the user to get stuck on the Building request... dialog when they would try to submit an icon request containing a VectorDrawable. This is a problem in and of itself (e.g. if new drawable types come up) but I chose to go the way of least resistance and simply add a handler for VectorDrawable specifically.
This commit changes the way unthemed icons (for display in the icon requests section) are loaded by Glide. Where it would previously load by package name (presumably using a custom resource but I didn't find it), it's now getting the drawable directly. This fixes
VectorDrawables
going unhandled and showing up as blank.Similarly,
getRightIcon
returningnull
would cause the user to get stuck on theBuilding request...
dialog when they would try to submit an icon request containing aVectorDrawable
. This is a problem in and of itself (e.g. if new drawable types come up) but I chose to go the way of least resistance and simply add a handler forVectorDrawable
specifically.Fixes #119