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
b3438522
Commit
b3438522
authored
Apr 15, 2022
by
narinder Rana
Browse files
5243 compute domain
parent
301469c3
Changes
1
Hide whitespace changes
Inline
Side-by-side
app/src/main/java/foundation/e/accountmanager/ui/setup/EeloAuthenticatorFragment.kt
View file @
b3438522
...
...
@@ -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