do not use cached path in filtering in order to not instantiate VisualCache objects

dbus-notify
Zlatin Balevsky 2022-08-14 06:59:47 +01:00
parent 327559a91d
commit ad03c4104c
No known key found for this signature in database
GPG Key ID: A72832072D525E41
1 changed files with 1 additions and 1 deletions

View File

@ -531,7 +531,7 @@ class MainFrameModel {
private boolean filter(SharedFile sharedFile) {
if (filter == null)
return true
String path = sharedFile.getCachedPath().toLowerCase()
String path = sharedFile.getFile().getAbsolutePath().toLowerCase()
boolean contains = true
for (String keyword : filter) {
contains &= path.contains(keyword)