If you mean with "quick settings" the little arrow in the corner and with "not quick settings" the "more settings" button.
Then this is not happening on my phone (pixel 8)
Interestingly i just nocticed, that it will still do the flash, when camera access is off in the privacy control thing