Skip to content

Commit

Permalink
Fix empty state for search view
Browse files Browse the repository at this point in the history
  • Loading branch information
moezbhatti committed Mar 30, 2020
1 parent b56111a commit 02bf282
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -235,6 +235,7 @@ class MainActivity : QkThemedActivity(), MainView {

binding.compose.setVisible(state.page is Inbox || state.page is Archived)
conversationsAdapter.emptyView = binding.empty.takeIf { state.page is Inbox || state.page is Archived }
searchAdapter.emptyView = binding.empty.takeIf { state.page is Searching }

when (state.page) {
is Inbox -> {
Expand Down

0 comments on commit 02bf282

Please sign in to comment.