mirror of
https://github.com/ReVanced/revanced-patches.git
synced 2025-05-11 21:25:40 +02:00
refactor
This commit is contained in:
parent
23ac6f60d5
commit
249f2eb92c
1 changed files with 1 additions and 2 deletions
|
@ -502,8 +502,7 @@ public class ReVancedPreferenceFragment extends AbstractPreferenceFragment {
|
|||
Map<String, PreferenceCategory> categoryMap = new HashMap<>();
|
||||
String queryLower = Utils.removePunctuationToLowercase(query);
|
||||
|
||||
Pattern queryPattern = Pattern.compile(Pattern.quote(Utils.removePunctuationToLowercase(query)),
|
||||
Pattern.CASE_INSENSITIVE);
|
||||
Pattern queryPattern = Pattern.compile(Pattern.quote(Utils.removePunctuationToLowercase(query)));
|
||||
|
||||
for (AbstractPreferenceSearchData<?> data : allPreferences) {
|
||||
if (data.matchesSearchQuery(queryLower)) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue