I would put some kind of rubber protector over the corner so it doesn't get scratched, then I'd "gently" lock on a pair of vise grips and then slowly bend it back into shape. I wouldn't bang on with the a hammer or mallet. It would jar the components and maybe cause internal damage.
Don't try to bend it perfect... just get it good enough that you can open and close it and it looks decent.