@… I use Bottles to configure Wine so in my case I use the terminal to run the following command : flatpak override com.usebottles.bottles --user --filesystem=xdg-data/applications
I'm guessing that if you subsititute winehq for bottles it will do the trick.