3530: Provide a help text on the empty conversations view

This commit is contained in:
Lakoja 2023-04-14 11:56:10 +02:00
commit c9f59aace4
2 changed files with 7 additions and 0 deletions

View file

@ -134,6 +134,7 @@ class ConversationsFragment :
if (loadState.append is LoadState.NotLoading && loadState.source.refresh is LoadState.NotLoading) {
binding.statusView.show()
binding.statusView.setup(R.drawable.elephant_friend_empty, R.string.message_empty, null)
binding.statusView.showHelp(R.string.help_empty_conversations)
}
}
is LoadState.Error -> {