It's actually distracting! Try being more present during class and leave your phone in the locker. It's nice to get away from your phone for an hour or two a day and just focus on yourself. Even if you choose not to do that, don't spend the entire class on your phone when the instructor is teaching. It's impolite.