IPhone message settings i don't know?

When I get a text on my phone the banner will come and it will say who it's from but not the message, it use to but my friend made it so it doesn't. How do I make the it so that I can read the text on my lock screen without opening it?

Settings> notifications>messages and scroll down to where it says show preview and switch it on