Display notify above keyboard in CreateKeyEmailFragment

This commit is contained in:
Dominik Schürmann 2015-05-04 15:34:48 +02:00
parent 2cd1cf9192
commit f3090f2939

View File

@ -153,7 +153,7 @@ public class CreateKeyEmailFragment extends Fragment {
if (!isEmailFormatValid(email)) {
Notify.create(getActivity(),
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;
}
@ -162,7 +162,7 @@ public class CreateKeyEmailFragment extends Fragment {
mEmailEdit.getText().length() > 0 && email.equals(mEmailEdit.getText().toString())) {
Notify.create(getActivity(),
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;
}