Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
e
os
AccountManager
Commits
da30bf5d
Commit
da30bf5d
authored
Apr 15, 2022
by
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
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
app/src/main/java/foundation/e/accountmanager/ui/setup/EeloAuthenticatorFragment.kt
View file @
da30bf5d
...
...
@@ -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
)
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment