If you're using grapheneos, you can simply set a storage scope for the app so that Google photos can only see files in a specific location. It can't even see the other files to give you a pop-up
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments