Fixes search.
It now works the same as iOS. It case insensitive matches the entire search text in any of name, size, type, subtype, or alignment.
This commit is contained in:
@@ -66,4 +66,9 @@ public final class StringHelper {
|
||||
return null;
|
||||
}
|
||||
}
|
||||
|
||||
public static boolean containsCaseInsensitive(String text, String search) {
|
||||
// TODO: find a locale independent way to do this
|
||||
return text.toLowerCase().contains(search.toLowerCase());
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user