diff options
author | Dominik Schürmann <dominik@dominikschuermann.de> | 2015-05-04 15:34:48 +0200 |
---|---|---|
committer | Dominik Schürmann <dominik@dominikschuermann.de> | 2015-05-04 15:34:48 +0200 |
commit | f3090f2939ede5db92afbd5fd52e9a509556a15f (patch) | |
tree | bb7dfabc78b643534bc6277474999ff16a5ee08c /OpenKeychain/src/main/java/org/sufficientlysecure/keychain | |
parent | 2cd1cf9192aee76a0f2481281148783519d208a7 (diff) | |
download | open-keychain-f3090f2939ede5db92afbd5fd52e9a509556a15f.tar.gz open-keychain-f3090f2939ede5db92afbd5fd52e9a509556a15f.tar.bz2 open-keychain-f3090f2939ede5db92afbd5fd52e9a509556a15f.zip |
Display notify above keyboard in CreateKeyEmailFragment
Diffstat (limited to 'OpenKeychain/src/main/java/org/sufficientlysecure/keychain')
-rw-r--r-- | OpenKeychain/src/main/java/org/sufficientlysecure/keychain/ui/CreateKeyEmailFragment.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/OpenKeychain/src/main/java/org/sufficientlysecure/keychain/ui/CreateKeyEmailFragment.java b/OpenKeychain/src/main/java/org/sufficientlysecure/keychain/ui/CreateKeyEmailFragment.java index 64dc71785..dbff4fb9f 100644 --- a/OpenKeychain/src/main/java/org/sufficientlysecure/keychain/ui/CreateKeyEmailFragment.java +++ b/OpenKeychain/src/main/java/org/sufficientlysecure/keychain/ui/CreateKeyEmailFragment.java @@ -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; } |