Loading k9mail/src/main/java/com/fsck/k9/activity/compose/RecipientPresenter.java +3 −6 Original line number Diff line number Diff line Loading @@ -115,12 +115,9 @@ public class RecipientPresenter implements PermissionPingCallback { } public boolean checkRecipientsOkForSending() { boolean performedAnyCompletion = recipientMvpView.recipientToTryPerformCompletion() || recipientMvpView.recipientCcTryPerformCompletion() || recipientMvpView.recipientToTryPerformCompletion(); recipientMvpView.recipientCcTryPerformCompletion(); recipientMvpView.recipientBccTryPerformCompletion(); if (performedAnyCompletion) { return true; } if (recipientMvpView.recipientToHasUncompletedText()) { recipientMvpView.showToUncompletedError(); Loading k9mail/src/main/java/com/fsck/k9/view/RecipientSelectView.java +3 −8 Original line number Diff line number Diff line Loading @@ -229,14 +229,9 @@ public class RecipientSelectView extends TokenCompleteTextView<Recipient> implem @Override public void performCompletion() { if (getListSelection() == ListView.INVALID_POSITION && enoughToFilter()) { Object bestGuess; if (getAdapter().getCount() > 0) { bestGuess = getAdapter().getItem(0); } else { bestGuess = defaultObject(currentCompletionText()); } if (bestGuess != null) { replaceText(convertSelectionToString(bestGuess)); Object recipientText = defaultObject(currentCompletionText()); if (recipientText != null) { replaceText(convertSelectionToString(recipientText)); } } else { super.performCompletion(); Loading Loading
k9mail/src/main/java/com/fsck/k9/activity/compose/RecipientPresenter.java +3 −6 Original line number Diff line number Diff line Loading @@ -115,12 +115,9 @@ public class RecipientPresenter implements PermissionPingCallback { } public boolean checkRecipientsOkForSending() { boolean performedAnyCompletion = recipientMvpView.recipientToTryPerformCompletion() || recipientMvpView.recipientCcTryPerformCompletion() || recipientMvpView.recipientToTryPerformCompletion(); recipientMvpView.recipientCcTryPerformCompletion(); recipientMvpView.recipientBccTryPerformCompletion(); if (performedAnyCompletion) { return true; } if (recipientMvpView.recipientToHasUncompletedText()) { recipientMvpView.showToUncompletedError(); Loading
k9mail/src/main/java/com/fsck/k9/view/RecipientSelectView.java +3 −8 Original line number Diff line number Diff line Loading @@ -229,14 +229,9 @@ public class RecipientSelectView extends TokenCompleteTextView<Recipient> implem @Override public void performCompletion() { if (getListSelection() == ListView.INVALID_POSITION && enoughToFilter()) { Object bestGuess; if (getAdapter().getCount() > 0) { bestGuess = getAdapter().getItem(0); } else { bestGuess = defaultObject(currentCompletionText()); } if (bestGuess != null) { replaceText(convertSelectionToString(bestGuess)); Object recipientText = defaultObject(currentCompletionText()); if (recipientText != null) { replaceText(convertSelectionToString(recipientText)); } } else { super.performCompletion(); Loading