Why Afrikaans considered as an official language for Namibia after independence?

Namibia gained independence from South African administration in 1990, and English was adopted as the sole official language. However, Afrikaans is not an official language in Namibia.
Copyright Wanderlust World © https://www.ynyoo.com