Sorry - you looked like you knew what you were doing!
I have had both extremes... Struggling, and not getting any help; doing just fine and somebody stopping and distracting me!
I think I only accepted help once. I didn't have my reading glasses with me so I couldn't see a small piece of glass embedded in my tyre. A helpful rider spotted it straight away and removed it for me. I now carry a pair of fold-up travel specs on rides!
I slow down and offer help. Usually, it isn't needed/wanted but occasionally I have made myself useful...
I have fixed a few broken chains for riders who couldn't.
I saw an elderly cyclist walking with his bike, which had a flat tyre. I offered to help but he said that he would just walk home. I asked where he was walking to and it was about 8 km away so I decided to be a bit more insistent! I told him that it was no bother and he gratefully accepted. I got him going again pretty quickly.
Another time, I saw a younger cyclist in a similar situation. He told me that he had a pump but no spare tube. His mates were ahead of him at a local cafe, which was about a 40 minute walk away. There was no phone signal there. I gave him one of my spare tubes. I had 3 on me that day so it wasn't a big deal.