mirror of
https://github.com/ente-io/ente.git
synced 2025-07-21 19:46:03 +00:00
## Description Previously it would check if the substring that precedes the first `.` or `(` of the lowercase spaceless provider title was a valid icon. Now: 1. Checks if lowercase spaceless provider title is valid icon 2. If the title contains a `(` it checks if the preceding part of the title is a valid icon 3. If the title contains a `.` it checks if the preceding part of the title is a valid icon | Provider Title | Previous Check | Now Checks | | -------- | ------- | ----------| | Login.gov | `login` ❌| `login.gov` ✅ | | GOV.UK (Brian) | `gov` ❌| `gov.uk(brian)`❌ then `gov.uk` ✅ | | PayPal.com (Visa) | `paypal` ✅ | `paypal.com(visa)` ❌ then `paypal.com` ❌ then `paypal` ✅| | Amazon.com | `amazon` ✅ | `amazon.com` ❌ then `amazon` ✅| This PR resolves issue #3473