|
@ -395,7 +395,7 @@ public class FragmentAccount extends FragmentEx { |
|
|
if (TextUtils.isEmpty(host)) |
|
|
if (TextUtils.isEmpty(host)) |
|
|
throw new Throwable(getContext().getString(R.string.title_no_host)); |
|
|
throw new Throwable(getContext().getString(R.string.title_no_host)); |
|
|
if (TextUtils.isEmpty(port)) |
|
|
if (TextUtils.isEmpty(port)) |
|
|
throw new Throwable(getContext().getString(R.string.title_no_port)); |
|
|
port = "993"; |
|
|
if (TextUtils.isEmpty(user)) |
|
|
if (TextUtils.isEmpty(user)) |
|
|
throw new Throwable(getContext().getString(R.string.title_no_user)); |
|
|
throw new Throwable(getContext().getString(R.string.title_no_user)); |
|
|
if (TextUtils.isEmpty(password)) |
|
|
if (TextUtils.isEmpty(password)) |
|
@ -622,7 +622,7 @@ public class FragmentAccount extends FragmentEx { |
|
|
if (TextUtils.isEmpty(host)) |
|
|
if (TextUtils.isEmpty(host)) |
|
|
throw new Throwable(getContext().getString(R.string.title_no_host)); |
|
|
throw new Throwable(getContext().getString(R.string.title_no_host)); |
|
|
if (TextUtils.isEmpty(port)) |
|
|
if (TextUtils.isEmpty(port)) |
|
|
throw new Throwable(getContext().getString(R.string.title_no_port)); |
|
|
port = "993"; |
|
|
if (TextUtils.isEmpty(user)) |
|
|
if (TextUtils.isEmpty(user)) |
|
|
throw new Throwable(getContext().getString(R.string.title_no_user)); |
|
|
throw new Throwable(getContext().getString(R.string.title_no_user)); |
|
|
if (TextUtils.isEmpty(password)) |
|
|
if (TextUtils.isEmpty(password)) |
|
|