Apple Inc. is facing a class action claiming it paints a misleading picture of the size, resolution and pixel count on the screens on iPhone  X, XS, and XS Max models.

The lawsuit, filed Friday in U.S. District Court for the Northern District of California, accuses Apple of violating consumer protection laws in all 50 states via advertisements on its website that allegedly misrepresent the pixel counts and screen sizes of its phones. Plaintiffs attorney David Makman wrote that the iPhones “have half the advertised number of pixels.”