Color icon doesn't work
lancevalour opened this issue · 2 comments
lancevalour commented
If I use the color icon instead of the white icon, the splashview will change the icon to white and splash.
Is it a bug or feature?
Below is the code I use.
let revealingSplashView = RevealingSplashView(iconImage: UIImage(named: "color_icon")!, iconInitialSize: CGSizeMake(60, 60),backgroundColor: MaterialColor.grey.lighten5)
PiXeL16 commented
Its definitely not a intented feature
. I will try to check tonight to see whats up.
Thanks!
PiXeL16 commented
@lancevalour Just remember that I added a iconColor
property. If you don't set it it will default to white.
So, for example, you can do:
revealingSplashView.iconColor = UIColor.blueColor()
This will change the icon color to blue, the example it will look like this:
Let me know if it works. Closing for now.