Remove spaces from host names

This commit is contained in:
M66B
2020-10-11 21:34:31 +02:00
parent d1d87f8808
commit 2df6cf857d
3 changed files with 3 additions and 3 deletions

View File

@@ -601,7 +601,7 @@ public class FragmentAccount extends FragmentBase {
Bundle args = new Bundle();
args.putLong("id", id);
args.putString("host", etHost.getText().toString().trim());
args.putString("host", etHost.getText().toString().trim().replace(" ", ""));
args.putInt("encryption", encryption);
args.putBoolean("insecure", cbInsecure.isChecked());
args.putString("port", etPort.getText().toString());