mirror of
https://github.com/moparisthebest/open-keychain
synced 2024-12-24 07:58:50 -05:00
Display notify above keyboard in CreateKeyEmailFragment
This commit is contained in:
parent
2cd1cf9192
commit
f3090f2939
@ -153,7 +153,7 @@ public class CreateKeyEmailFragment extends Fragment {
|
|||||||
if (!isEmailFormatValid(email)) {
|
if (!isEmailFormatValid(email)) {
|
||||||
Notify.create(getActivity(),
|
Notify.create(getActivity(),
|
||||||
getString(R.string.create_key_email_invalid_email),
|
getString(R.string.create_key_email_invalid_email),
|
||||||
Notify.LENGTH_LONG, Notify.Style.ERROR).show();
|
Notify.LENGTH_LONG, Notify.Style.ERROR).show(CreateKeyEmailFragment.this);
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -162,7 +162,7 @@ public class CreateKeyEmailFragment extends Fragment {
|
|||||||
mEmailEdit.getText().length() > 0 && email.equals(mEmailEdit.getText().toString())) {
|
mEmailEdit.getText().length() > 0 && email.equals(mEmailEdit.getText().toString())) {
|
||||||
Notify.create(getActivity(),
|
Notify.create(getActivity(),
|
||||||
getString(R.string.create_key_email_already_exists_text),
|
getString(R.string.create_key_email_already_exists_text),
|
||||||
Notify.LENGTH_LONG, Notify.Style.ERROR).show();
|
Notify.LENGTH_LONG, Notify.Style.ERROR).show(CreateKeyEmailFragment.this);
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user