Even easier solution for me, I installed the fossify gallery app and disabled my phones default one, and that lets me selectively whitelist and blacklist media directories
Even easier solution for me, I installed the fossify gallery app and disabled my phones default one, and that lets me selectively whitelist and blacklist media directories