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) {
|
||||
if (filter == null)
|
||||
return true
|
||||
String path = sharedFile.getCachedPath()
|
||||
String path = sharedFile.getCachedPath().toLowerCase()
|
||||
boolean contains = true
|
||||
for (String keyword : filter) {
|
||||
contains &= path.contains(keyword)
|
||||
|
|
Loading…
Reference in New Issue