Lennoncham
Chameleon Enthusiast
I’m not sure if the soap solution actually kills the larvae though. Soap acts as a wetting agent allowing water to spread and penetrate more evenly. So it may just be a function of the more evenly distributed water and heavier plant uptake that results in drier soil conditions and therefore less desirable for the fungus gnat larvae.