Hi, I’m currently on lesson 10, and I dont know if its a bug or not but the code below returns a blue ‘dealbutton’.
Button(action: {}, label: {
Image(“dealbutton”)
})
The image itself isn’t blue… not quote sure why it’s doing that. Any help?
Hi, I’m currently on lesson 10, and I dont know if its a bug or not but the code below returns a blue ‘dealbutton’.
Button(action: {}, label: {
Image(“dealbutton”)
})
The image itself isn’t blue… not quote sure why it’s doing that. Any help?
Oh! nevermind. I’ve figured it out.
I guess because it’s a button, there is original formatting on top of it (so thats why it appears blue…)
Fix was:
.renderingMode(.original)
Button(action: {}, label: {
Image(“dealbutton”).renderingMode(.original)
})