I have a Navigation Link set up with an image and by default when the user presses the Navigation Link, the image is reduced to around 30-40% opacity.
I'm wondering how to prevent this from happening and how to set the opacity to whatever I need it to be.
My code:
NavigationLink(destination:
PostPageView()
.navigationBarTitle(Text("Post"), displayMode: .inline)
.foregroundColor(Color("blackAndWhite"))
){
Image("partyyy").resizable().frame(height: 300)
}
Image with example you can see below. Appreciate your help!