-
Notifications
You must be signed in to change notification settings - Fork 90
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
utils: Fix isMobileFriendly calculation from display length
The ranges are calculated from pre-existing behaviour exhibited by other frontends such as gnome software and appstreamcli subcommands and generally matches historical recommendation and current usage. To reduce complexity,not all comparison operators and relationship between multiple comparisons are supported. It's calculated on first-found basis of a single valid tag matching the criteria.
- Loading branch information
Showing
1 changed file
with
26 additions
and
33 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters