I tried a few combination to arrive at the configuration as the switch you have with SNMP issue but could not.
But you can use the below command to remove and add the community "public" and check at the screenplay.
Remove: configure snmp add community readonly public
Add: configure snmp add community readonly public
If you want, you can remove and add it to the switch and check.
But my attempt to get the community public with no string at "Read View" was not successful.