mirror of
https://github.com/nextcloud/android.git
synced 2024-11-23 21:55:48 +03:00
Added forgotten trim()s on the content of the URL field
This commit is contained in:
parent
532492bf9b
commit
6ef3fa77ef
1 changed files with 2 additions and 2 deletions
|
@ -234,7 +234,7 @@ public class AuthenticatorActivity extends AccountAuthenticatorActivity
|
|||
public void onOkClick(View view) {
|
||||
String prefix = "";
|
||||
String url = ((TextView) findViewById(R.id.host_URL)).getText()
|
||||
.toString();
|
||||
.toString().trim();
|
||||
if (mIsSslConn) {
|
||||
prefix = "https://";
|
||||
} else {
|
||||
|
@ -282,7 +282,7 @@ public class AuthenticatorActivity extends AccountAuthenticatorActivity
|
|||
mStatusText = mStatusIcon = 0;
|
||||
mStatusCorrect = false;
|
||||
String t_url = ((TextView) findViewById(R.id.host_URL)).getText()
|
||||
.toString().toLowerCase();
|
||||
.toString().trim().toLowerCase();
|
||||
|
||||
switch (type) {
|
||||
case OK_SSL:
|
||||
|
|
Loading…
Reference in a new issue