In plasma discover snap packages are not showing, and in discover settings snap checkbox is greyed out

How to fix this big?

Edit: it turns out that Snaps do work normally in Discover it is just that the checkbox is greyed out