We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1575ef6 commit 13c1b51Copy full SHA for 13c1b51
app/src/main/kotlin/org/fossify/contacts/fragments/MyViewPagerFragment.kt
@@ -313,7 +313,7 @@ abstract class MyViewPagerFragment<Binding : MyViewPagerFragment.InnerBinding>(c
313
val filtered = contactsIgnoringSearch.filter {
314
getProperText(it.getNameToDisplay(), shouldNormalize).contains(fixedText, true) ||
315
getProperText(it.nickname, shouldNormalize).contains(fixedText, true) ||
316
- (fixedText.toDoubleOrNull() != null && it.phoneNumbers.any {
+ (fixedText.toIntOrNull() != null && it.phoneNumbers.any {
317
fixedText.normalizePhoneNumber().isNotEmpty() && it.normalizedNumber.contains(fixedText.normalizePhoneNumber(), true)
318
}) ||
319
it.emails.any { it.value.contains(fixedText, true) } ||
0 commit comments