How to remove friction from platforms

Someone asked kinda the same:

I hope the answer there helps you.

This one is about deceleration when the player touches a platform.