aboutsummaryrefslogtreecommitdiffstats
path: root/OpenKeychain/src/main/java/org/sufficientlysecure/keychain
diff options
context:
space:
mode:
authorDaniel Ramos <hiperzone@gmail.com>2015-04-26 18:56:37 +0100
committerDaniel Ramos <hiperzone@gmail.com>2015-04-26 18:56:37 +0100
commit08d25f3685cffb7402bb6dd824bc0666bfe9a1c2 (patch)
treee2feb24ac7e23b58ecaa56a751e0bfc862186f0b /OpenKeychain/src/main/java/org/sufficientlysecure/keychain
parent674f377bd4e163bdcebb09c12a99947578b7265d (diff)
downloadopen-keychain-08d25f3685cffb7402bb6dd824bc0666bfe9a1c2.tar.gz
open-keychain-08d25f3685cffb7402bb6dd824bc0666bfe9a1c2.tar.bz2
open-keychain-08d25f3685cffb7402bb6dd824bc0666bfe9a1c2.zip
-removed unneeded code from previous commits. I tested on a KitKat(4.4.2) and Lollipop (5.1) phone and everything seems to be preserved as expected.
Diffstat (limited to 'OpenKeychain/src/main/java/org/sufficientlysecure/keychain')
-rw-r--r--OpenKeychain/src/main/java/org/sufficientlysecure/keychain/ui/CreateKeyEmailFragment.java3
1 files changed, 0 insertions, 3 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 ed4cf5b8a..473383e22 100644
--- a/OpenKeychain/src/main/java/org/sufficientlysecure/keychain/ui/CreateKeyEmailFragment.java
+++ b/OpenKeychain/src/main/java/org/sufficientlysecure/keychain/ui/CreateKeyEmailFragment.java
@@ -135,9 +135,6 @@ public class CreateKeyEmailFragment extends Fragment {
mEmailAdapter.addAll(mCreateKeyActivity.mAdditionalEmails);
}
}
- if (mAdditionalEmailModels.isEmpty() && mCreateKeyActivity.mAdditionalEmails != null) {
- mEmailAdapter.addAll(mCreateKeyActivity.mAdditionalEmails);
- }
mEmailsRecyclerView.setAdapter(mEmailAdapter);