Skip to content
Commit 3a093405 authored by Kai Uwe Broulik's avatar Kai Uwe Broulik 🍇
Browse files

Avoid including the address country if it's obvious

Introduces Localizer.formatAddressWithContext which can then decide
whether to include the country when formatting the address (and/or
other criteria in the future).

The country is excluded if the address is otherwise empty and in the
user's home country. If there's an address pair (e.g. departure and arrival)
the country is hidden only if both are in the same country.
parent f7e3534e
Pipeline #406193 passed with stage
in 2 minutes and 39 seconds
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment