|
|
|
|
@ -182,7 +182,7 @@ class TimelineFragment :
|
|
|
|
|
if (adapter.itemCount == 0) { |
|
|
|
|
when (loadState.refresh) { |
|
|
|
|
is LoadState.NotLoading -> { |
|
|
|
|
if (loadState.append is LoadState.NotLoading) { |
|
|
|
|
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) |
|
|
|
|
} |
|
|
|
|
|