How do I prevent Whatsapp displaying entries in the contacts app? Whatsapp is creating duplicate contacts on my Android phone. I know that the duplicates belong to Whatsapp because:


I have checked the Android contacts storage database, which confirms the duplicates come from Whatsapp and 
By going to Settings > Users &amp; accounts and deleting WhatsApp, all of these duplicate contacts are gone. They re-appear when I restart WhatsApp.


The prevailing wisdom (e.g. this answer) is that to rectify this issue just go to the contacts app, click on the three dots, select "Contacts to Display", and deselect Whatsapp. However, when I do this, I select "Customised view", but Whatsapp does not appear in the list of accounts which I can show or hide.

Is there any other way to hide Whatsapp's contact list from within the default Android contacts app? 

Things I would rather avoid:


Revoking contacts permissions for Whatsapp. If I do that, I won't be able to see the names of contacts any more from inside Whatsapp.
Using a different contacts app. This is just avoiding the issue, rather than trying to fix it.


The phone is a Xiaomi Mi A1, and the OS is Android One, version 8.0.
Using Samsung S9:

Whatsapp does show in &quot;custom group&quot; list of available contact lists on my phone
Doing that has not effect on the Phone App contact list though (still showing all contacts available on the phone including whatsapp).

so the question remains:
How to define the address book to be used by the phone app?
Note:
I don't want to merge duplicates becasue that comes with a whole host of new issues like intetional duplicates being merged etc..