Commit 36c94124 authored by Daniel Wolf's avatar Daniel Wolf
Browse files

Show a different error for DoT

parent 130848ba
......@@ -292,7 +292,8 @@ class NewServerDialog(
input.error = if (valid) {
} else context.getString(R.string.error_invalid_url)
} else if(dnsOverHttps) context.getString(R.string.error_invalid_url)
else context.getString(R.string.error_invalid_host)
override fun beforeTextChanged(s: CharSequence?, start: Int, count: Int, after: Int) {
......@@ -18,6 +18,7 @@
<string name="all_close">Close</string>
<string name="error_invalid_url">Please provide a valid url.</string>
<string name="error_invalid_host">Please provide a valid host.</string>
<string name="error_invalid_pin">Please provide your PIN.</string>
<string name="error_invalid_servername">Please provide a name.</string>
<string name="error_webview_missing">WebView package not found, is it currently updating or removed?</string>
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment