Commit da30bf5d authored by narinder Rana's avatar narinder Rana
Browse files

Merge branch '5243-computeDomain' into 'master'

5243 compute domain

See merge request !36
parents 301469c3 b3438522
Pipeline #178466 passed with stage
in 1 minute and 57 seconds
......@@ -114,16 +114,10 @@ class EeloAuthenticatorFragment : Fragment() {
private fun validate(): Boolean {
var valid = false
var serverUrl = foundation.e.accountmanager.Constants.EELO_SYNC_URL
var serverUrl = requireView().urlpwd_server_uri.text.toString();
fun validateUrl() {
if (toggleButtonState == true) {
serverUrl = requireView().urlpwd_server_uri.text.toString();
} else {
serverUrl = foundation.e.accountmanager.Constants.EELO_SYNC_URL
}
model.baseUrlError.value = null
try {
val uri = URI(serverUrl)
......
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