mirror of https://github.com/M66B/FairEmail.git
Fixed loading saved search
This commit is contained in:
parent
374f121d5f
commit
4bb1284c52
|
@ -1381,6 +1381,7 @@ public class BoundaryCallbackMessages extends PagedList.BoundaryCallback<TupleMe
|
|||
|
||||
public static SearchCriteria fromJsonData(JSONObject json) throws JSONException {
|
||||
SearchCriteria criteria = new SearchCriteria();
|
||||
if (!json.isNull("query"))
|
||||
criteria.query = json.optString("query");
|
||||
criteria.fts = json.optBoolean("fts");
|
||||
criteria.in_senders = json.optBoolean("in_senders");
|
||||
|
|
Loading…
Reference in New Issue