Seeing dots

Ma

I am 24 weeks pregnant I was sitting on the couch and suddenly I started seeing black tiny specks everywhere I thought they were fruit flies and then I realized I’m seeing things. Has anyone had this? It’s gone now