she violated the recently passed city law that prohibits civilians from bringing firearms to protests, the police said

At no point in time was anyone menaced or injured as a result of her possessing the firearm

Unless she was threatening someone (the article specifically claims she wasn’t), she will be acquitted. One does not have just one right at a time, one has all their rights all the time.