Skip to content

Commit

Permalink
Reshow "empty home" message
Browse files Browse the repository at this point in the history
  • Loading branch information
nikclayton committed Jan 23, 2025
1 parent 8d3f27d commit 3438982
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -280,6 +280,9 @@ class TimelineFragment :
binding.swipeRefreshLayout.isRefreshing = false
if (adapter.itemCount == 0) {
binding.statusView.setup(BackgroundMessage.Empty())
if (timeline == Timeline.Home) {
binding.statusView.showHelp(R.string.help_empty_home)
}
binding.recyclerView.hide()
binding.statusView.show()
} else {
Expand Down

0 comments on commit 3438982

Please sign in to comment.