Spotify has been making their desktop client inferior to the android app for a while... that said I just checked mine and the toggle is still there on android. (No idea about ios)
On desktop it's near the download button. Click the 3 dots and it should have a option in the menu to make your playlist private or public.