It played a role. Because the Democrats and President Johnson were in charge during the Civil Rights movement, we got the Civil Rights Act. Because the Republicans and President Trump were in charge during the BLM movement, we got jackshit (on a federal level). This stuff matters.
I fully agree that politics have changed, I’m just arguing that having a sympathetic President and Congress in office makes it significantly easier to get legislation passed by protest.