Fix dublicated code in CreateKeyEmailFragment

This commit is contained in:
Dominik Schürmann 2015-05-04 14:19:16 +02:00
parent 39c610c2d1
commit dedda1603c

View File

@ -133,10 +133,6 @@ public class CreateKeyEmailFragment extends Fragment {
addEmail();
}
});
if (mCreateKeyActivity.mAdditionalEmails != null) {
mEmailAdapter.addAll(mCreateKeyActivity.mAdditionalEmails);
}
}
if (mAdditionalEmailModels.isEmpty() && mCreateKeyActivity.mAdditionalEmails != null) {
mEmailAdapter.addAll(mCreateKeyActivity.mAdditionalEmails);