"Brave cannot determine or set the default browser"

When in settings trying to make Brave my default browser ( brave://settings/getStarted ) it says the following: “Brave cannot determine or set the default browser”

I’m running MX-Linux 19.3 using Brave
Version 1.18.70 Chromium: 87.0.4280.101 (Official Build) (64-bit)

I just reinstalled this machine and previous I was able to set Brave as my default browser without any problem.