1
0
Fork 0
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:
M66B 2023-01-22 08:17:03 +01:00
parent 422d136ea5
commit dbb5abc0f3

View file

@ -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) {