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

@@ -233,6 +233,7 @@
<string name="pref_network_proxy_enable">"Enable proxy"</string>
<string name="pref_network_proxy_enable_desc">"Allow all traffic from app to go through the proxy"</string>
<string name="pref_network_proxy_url">"Proxy URL"</string>
<string name="pref_network_proxy_url_message">Enter a valid proxy URL to pass all data through the proxy.</string>
<string name="pref_ui_accent_title">"Accent"</string>
<string name="pref_ui_theme_black">"Black"</string>
<string name="pref_ui_theme_dark">"Dark"</string>