Theory of relativity shows that the speed of light doesn't depend
on the motion of the observer. All observers measure the same
speed of light no matter how they're moving.
It does NOT say that the speed of light is the same in any medium.
If the light is moving through a block of jello, then all observers in jello
will measure the same speed of light, no matter how they're moving
and whatever that speed is.