A Wi-Fi code is a credential, not encryption
The password is stored inside the QR payload. Hiding the password as a picture does not make it secret. Only display the code where you would be comfortable sharing the same network credentials in plain text.