## 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
This change sets the program name to the
application ID, which helps various systems like
GTK and desktop environments map this running
application to its corresponding .desktop file.
This ensures better integration by allowing the
application to be recognized beyond its binary
name.
Currently, Flutter defaults to always using GTK
window decorations regardless of the window
manager, when running Wayland. This makes the app
look out of place on KDE Plasma and other Qt-based desktop environments.
This change checks the XDG_CURRENT_DESKTOP
environment variable to determine the running
desktop environment, and if it is GNOME continues
to use the GTK header, otherwise it uses the Qt
header.
| Before | After |
|--------|--------|
|

|

|
Currently, Flutter defaults to always using GTK
window decorations regardless of the window
manager, when running Wayland. This makes the app
look out of place on KDE Plasma and other Qt-based
desktop environments.
This change checks the XDG_CURRENT_DESKTOP
environment variable to determine the running
desktop environment, and if it is GNOME continues
to use the GTK header, otherwise it uses the Qt
header.
## Description
In the current version of Ente Auth, nothing happens when the user
closes the Ente Auth window on macOS and then clicks on the Ente Auth
icon in the dock.
This PR changes this behaviour and brings it in-line with other macOS
applications by showing the main application window when the user clicks
on the dock icon.
## Tests
Currently, nothing happens when the user closes the Ente Auth window on macOS and then clicks on the Ente Auth icon in the dock. This commit changes this behaviour and brings it in-line with other macOS applications by showing the main application window when the user clicks on the dock icon.