We have screens in our bathrooms these days that separate the bathing area and the toilet. That’s a good thing. Prophet (SAW) used a screen too.
Narrated Um Hani bint Abi Talib:
I went to Allah’s Apostle in the year of the conquest of Mecca and found him taking a bath while Fatima was screening him. The Prophet asked, “Who is it?” I replied, “I am Um-Hani.”