Dropped my iPhone X in the toilet and now it won't charge
I dropped my iphone X in the toilet for a second. It was still working and its described water resistant so I thought it was fine. 2 hours later I was in 4% so I put it on charge and it says its charging. I wake up and the screen is black. Sometimes when I press the charge button it shows up as needing charging. I leave it to dry for 24 hours and then try charging it again- it comes up as its charging but after about a minute the charging thing goes off and the screens black in. The charging port was already a bit dodgy so I’m hoping it’s just the charging port damaged or do you think the whole phone is damaged?