Not sure why Trump would get the credit on that one. He's not smart enough to find the right SCOTUS judge, nor to understand the ramifications (not sure any in the GOP really thought it through).
Mitch "Imma take a quick 30 second reality break" McConnell is the one that really made this happen with his "I think the next administration should elect the judge" garbage back in 2015 or 2016.