mirror of https://github.com/zlatinb/muwire
make filtering case insensitive
parent
f079326826
commit
c79fd9b8d5
|
@ -470,7 +470,7 @@ class MainFrameModel {
|
||||||
private boolean filter(SharedFile sharedFile) {
|
private boolean filter(SharedFile sharedFile) {
|
||||||
if (filter == null)
|
if (filter == null)
|
||||||
return true
|
return true
|
||||||
String path = sharedFile.getCachedPath()
|
String path = sharedFile.getCachedPath().toLowerCase()
|
||||||
boolean contains = true
|
boolean contains = true
|
||||||
for (String keyword : filter) {
|
for (String keyword : filter) {
|
||||||
contains &= path.contains(keyword)
|
contains &= path.contains(keyword)
|
||||||
|
|
Loading…
Reference in New Issue