The Difference Between Friendly and Flirting

I dropped my phone at a bar and a girl sitting next to me said “oh no, I hope it isn’t broken, I have to give you my number and I don’t have a pen.”