Why does my watch record my runs in km but save them into my app in miles

Why does my watch record my runs in km but save them into my app in miles?

I have changed the units from miles to km on the settings of my actual watch. And when I am running or walking, the units are in km. but when I finish my workout and save it… it goes to miles on the app.