Iphone 6 camera warning

So when I open my camera it shows a triangle with a exclamation point where the flash is supposed to be but it goes away afer a sec after opening it. Only happened to me twice today.
That usually indicates a problem with the flash. Try a soft reset and see if it stops. To perform a soft reset, hold both the power button and home button down until you see the Apple boot logo. Does the flash work once the triangle goes away?
It goes away in a second after opening the camera app. Yes, it works

Original thread: https://forums.imore.com/threads/iphone-6-camera-warning.346378/