Keep search model when opening thread

pull/212/head
M66B 2 years ago
parent 422d136ea5
commit dbb5abc0f3

@ -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…
Cancel
Save