mirror of
https://github.com/M66B/FairEmail.git
synced 2026-03-30 05:44:51 +02:00
Prevent crash
This commit is contained in:
@@ -304,6 +304,9 @@ public class FragmentIdentity extends FragmentBase {
|
||||
|
||||
@Override
|
||||
public void afterTextChanged(Editable editable) {
|
||||
if (etDomain == null)
|
||||
return;
|
||||
|
||||
String[] email = editable.toString().split("@");
|
||||
etDomain.setText(email.length < 2 ? null : email[1]);
|
||||
}
|
||||
@@ -324,6 +327,9 @@ public class FragmentIdentity extends FragmentBase {
|
||||
|
||||
@Override
|
||||
public void afterTextChanged(Editable s) {
|
||||
if (tilPassword == null)
|
||||
return;
|
||||
|
||||
checkPassword(s.toString());
|
||||
}
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user