Central heating and more choice of TV.
I lived in a dive as a student - damp, freezing, gas and electric kept cutting out. It was bearable as the lovely pub up the road was happy for us to spend hours writing essays and nursing a 40p pint of cordial. Warm, dry, large tables and functioning toilets. About a dozen old men did the same, with books and chat.
Went to the pub a lot as a scientist as many days involved set up experiments and poke every two hours. Again, a dozen people like me giving them a couple quid most days, plus a dozen old men propping up the bar.
I'd expect pubs to pick up with the rise in overcrowded housing, but the ban on under-18s in so many after 7pm, and the prices, puts people off. And people drink less partly because beer and cider and wine are all more alcoholic, and going home drunk or to work hung over is frowned on. And more men actually like spending time with families now. Commutes being longer doesn't help.
The thriving pubs are the ones which do coffee and cake and get people in during the day, have at least some food, put on events, and create some community including non-drinkers. It's hard work and needs imagination.
Lots of baby groups in my local as the main bar doesn't do alcohol til 11, so babies rule and afterwards parents have cake etc in the back room, People have lunch, a library has a branch inside, there's pub quizzes and football and films in the back room - and a few lone older drinkers too.