mirror of
https://github.com/M66B/FairEmail.git
synced 2025-12-26 15:40:59 +01:00
Fixed search when browse disabled
This commit is contained in:
@@ -95,8 +95,8 @@ public class ViewModelBrowse extends ViewModel {
|
||||
|
||||
DB db = DB.getInstance(state.context);
|
||||
final List<EntityFolder> folders = db.folder().getFolders(
|
||||
state.fid < 0 ? null : state.fid, state.search == null);
|
||||
Log.i("Search fid=" + (state.fid < 0 ? null : state.fid) + " browse=" + (state.search == null) + " count=" + folders.size());
|
||||
state.fid < 0 ? null : state.fid, state.search != null);
|
||||
Log.i("Search fid=" + (state.fid < 0 ? null : state.fid) + " search=" + (state.search == null) + " count=" + folders.size());
|
||||
if (folders.size() == 0)
|
||||
return;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user