I am not sure about this issue, but you can try this way to see if it is okay
Switch to settings on iPhone 12.
Click on general.
Roll down and click Reset.
Click "reset all the settings."
Enter your password if reminded and confirmed action.
Note that resetting all settings will not delete any data from the iPhone, but it will re-set the settings such as display brightness, wallpaper and Wi-Fi password according to their default.