Both the psychiatric illnesses mentioned are not known to directly cause any form of visual impairment but some anti depressants like Tricyclic antidepressants can cause blurring of vision secondary to dryness of eyes which might be independent of near or far vision, what you might be suffering from can be an independent eye related deficit probably myopia. Apart from that if you are a chronic user of digital screens , blurring of vision can be due to compute vision syndrome.
Next Steps
Refraction to rule out any refractive error.
Health Tips
Limit your screen time, use artificial tear eye drop like eyemist forte eye drop - 4 times/ day