shouldShowNoResults method

bool shouldShowNoResults()

Whether we should show the no-results screen

Implementation

bool shouldShowNoResults() {
  if (searchText.isEmpty && selectedFilters.isEmpty) return false;
  return allEmpty &&
      conversationsStatus != SearchStatus.loading &&
      messagesStatus != SearchStatus.loading;
}