diff --git a/app/src/main/AndroidManifest.xml b/app/src/main/AndroidManifest.xml
index e187240d8..19bd6845e 100644
--- a/app/src/main/AndroidManifest.xml
+++ b/app/src/main/AndroidManifest.xml
@@ -46,6 +46,7 @@
{
+ onBackPressedDispatcher.onBackPressed()
+ }
+ else -> return super.onOptionsItemSelected(item)
+ }
+ return true
+ }
+
private fun isNumericAddress(text: CharSequence): Boolean {
return if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.Q) {
InetAddresses.isNumericAddress(text as String)
@@ -91,4 +102,8 @@ class ProxySelectorActivity : AppCompatActivity() {
proxyUtils.setDefaultProxy()
Handler(Looper.getMainLooper()).postDelayed(500) { finish() }
}
+
+ private companion object {
+ private val WEB_ADDRESS_REGEX = Patterns.WEB_URL.toRegex()
+ }
}
diff --git a/app/src/main/res/values/strings.xml b/app/src/main/res/values/strings.xml
index 3840c0bc6..c59d34862 100644
--- a/app/src/main/res/values/strings.xml
+++ b/app/src/main/res/values/strings.xml
@@ -344,6 +344,7 @@
The git protocol provided by git-daemon performs no transport encryption and is unsuitable for secure operations.
+ Proxy settings
Proxy hostname
Port
HTTP(S) proxy settings