Welcome to Android Central! I assume you're talking about a Samsung phone with the Pie update. This is a known issue that has to do with theming -- there are many posts about it on the forums. Change your theme until you find one that makes the text visible.