In the photo below, it does not appear that I have the black king under attack. The next move that I made was my white queen to d8 and instantaneously I was told I had won by checkmate.
How is this possible in this situation as I don't believe I had the king in check prior to that move?