Always show the new 'find by phone number' item.

This commit is contained in:
Greyson Parrelli
2024-02-02 16:57:03 -05:00
parent b260a47b49
commit fa2551dfcf

View File

@@ -896,9 +896,10 @@ public final class ContactSelectionListFragment extends LoggingFragment {
if (findByCallback != null && FeatureFlags.usernames()) {
builder.arbitrary(ContactSelectionListAdapter.ArbitraryRepository.ArbitraryRow.FIND_BY_USERNAME.getCode());
builder.arbitrary(ContactSelectionListAdapter.ArbitraryRepository.ArbitraryRow.FIND_BY_PHONE_NUMBER.getCode());
}
builder.arbitrary(ContactSelectionListAdapter.ArbitraryRepository.ArbitraryRow.FIND_BY_PHONE_NUMBER.getCode());
if (transportType != null) {
if (!hasQuery && includeRecents) {
builder.addSection(new ContactSearchConfiguration.Section.Recents(