NetworkPreference: Move out and simply proxy logic

No need to check connectivity as soon as URL is set as SplashFragment will
only let you login when a valid connection is available.

Use a modern dialog and EditText to do set the URL with minimal verification.

Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
This commit is contained in:
Aayush Gupta
2024-07-14 14:04:15 +07:00
parent ab39597296
commit 1c701ec7f0
10 changed files with 113 additions and 110 deletions

View File

@@ -38,12 +38,6 @@
app:summary="@string/pref_network_proxy_enable_desc"
app:title="@string/pref_network_proxy_enable" />
<EditTextPreference
app:dependency="PREFERENCE_PROXY_ENABLED"
app:iconSpaceReserved="false"
app:key="PREFERENCE_PROXY_URL"
app:title="@string/pref_network_proxy_url" />
<PreferenceCategory
app:iconSpaceReserved="false"
app:singleLineTitle="false"