Yes and it isn’t rated IPX7 for that reason, just IP55. I wouldn’t hold it under the faucet but it should be perfectly fine for daily use.
Fun fact: It’s still entirely possible to make a phone water resistant even if it has a removable back. Samsung did it in 2014 with the S5. Glass backs are just there to make it easier to break a phone, not for any technical reason.