You've hardly had the fish 24 hrs. It's completely normal for new fish to adjust to their new environment. Don't worry about it not eating at this time. That natural light from the window looks to be quite bright, and you've got light substrate too, which heightens the light. I'd just keep the lights off/low and observe for the next few days. It'll come round in time.






