mirror of
https://github.com/M66B/FairEmail.git
synced 2024-12-31 20:25:38 +00:00
New searches at front
This commit is contained in:
parent
037056a00b
commit
d05c0a2b89
1 changed files with 2 additions and 2 deletions
|
@ -427,8 +427,8 @@ public class FragmentDialogSearch extends FragmentDialogBase {
|
|||
searches.add(search);
|
||||
}
|
||||
|
||||
if (!searches.contains(criteria.query))
|
||||
searches.add(0, criteria.query);
|
||||
searches.remove(criteria.query);
|
||||
searches.add(0, criteria.query);
|
||||
|
||||
SharedPreferences.Editor editor = prefs.edit();
|
||||
for (int i = 1; i <= Math.min(3, searches.size()); i++)
|
||||
|
|
Loading…
Reference in a new issue