It was Olof Palme, a famously leftist prime minister that facilitated refugee immigration – but Sweden also had much more “aggressive” integration policies. There was more effort put into training to get immigrants into the labor market, housing was less segregated… a lot of that ended and it will continue to get worse as the country turns right wing.
But it’s going to happen with other staples of Swedish society. Give it just a year or two until there’s a “is Swedish welfare unsustainable?” and the answer will be the same: No, the right is just strangling it.