Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Unverified Commit 78317f17 authored by cketti's avatar cketti Committed by GitHub
Browse files

Merge pull request #5531 from k9mail/fix_folder_list_filter

Ignore extraneous spaces when filtering the folder list
parents 3578c510 c43cb386
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -146,6 +146,7 @@ class ManageFoldersFragment : Fragment() {
        val locale = Locale.getDefault()
        val displayName = item.displayName.toLowerCase(locale)
        return constraint.splitToSequence(" ")
            .filter { it.isNotEmpty() }
            .map { it.toLowerCase(locale) }
            .any { it in displayName }
    }