NetworkPreferences: Simplify proxy setup yet again

* Allow to view and edit proxy URL without turning it off and on
* Add a new disable button in proxy dialog
* Trim whitespace and disallow new lines in the proxy URL field
* Disable buttons when not applicable

Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
This commit is contained in:
Aayush Gupta
2025-02-18 14:46:42 +08:00
parent cff88b1e17
commit 076b6ad291
50 changed files with 50 additions and 199 deletions

View File

@@ -281,8 +281,6 @@
<string name="notification_channel_updates">Updates notifications</string>
<string name="server_unreachable">Server unreachable</string>
<string name="details_no_favourites">Nun s\'atopó nenguna aplicación favorita</string>
<string name="pref_network_proxy_title">Proxy</string>
<string name="pref_network_proxy_enable_desc">Permite que tol tránsitu vaiga pel proxy</string>
<string name="pref_updates_incompatible_desc">Show updates for incompatible or disabled apps that may fail to install</string>
<string name="toast_app_unavailable">L\'aplicación nun ta disponible pa esti preséu</string>
<string name="toast_import_success">Importóse la configuración del preséu</string>
@@ -376,7 +374,6 @@
<string name="onboarding_permission_doze">Descargues en segundu planu</string>
<string name="pref_vending_version_title">Versión de Google Play</string>
<string name="pref_vending_version_device">La predeterminada (de la configuración del preséu)</string>
<string name="pref_network_proxy_enable">Activar el proxy</string>
<string name="notification_updates_available_desc_4"><xliff:g id="app_one_name">%1$s</xliff:g>, <xliff:g id="app_two_name">%2$s</xliff:g>, <xliff:g id="app_three_name">%3$s</xliff:g> y <xliff:g id="apps_count">%4$d</xliff:g> más</string>
<string name="failed_to_generate_session">Nun se pudo xenerar la sesión</string>
<string name="app_links_desc">Permite qu\'Aurora abra los enllaces compatibles</string>