mirror of
https://github.com/M66B/FairEmail.git
synced 2025-01-02 13:14:39 +00:00
Keep search model when opening thread
This commit is contained in:
parent
422d136ea5
commit
dbb5abc0f3
1 changed files with 2 additions and 1 deletions
|
@ -245,7 +245,8 @@ public class ViewModelMessages extends ViewModel {
|
|||
if (viewType == AdapterMessage.ViewType.UNIFIED)
|
||||
models.remove(AdapterMessage.ViewType.FOLDER);
|
||||
|
||||
if (viewType != AdapterMessage.ViewType.SEARCH)
|
||||
if (viewType != AdapterMessage.ViewType.SEARCH &&
|
||||
viewType != AdapterMessage.ViewType.THREAD)
|
||||
models.remove(AdapterMessage.ViewType.SEARCH);
|
||||
|
||||
if (viewType != AdapterMessage.ViewType.THREAD) {
|
||||
|
|
Loading…
Reference in a new issue