修复 ExploreShowScreen 加载时出现两个加载指示器的问题
This commit is contained in:
@@ -327,7 +327,7 @@ fun ExploreShowScreen(
|
||||
|
||||
item(span = { GridItemSpan(maxLineSpan) }) {
|
||||
LoadMoreFooter(
|
||||
isLoading = state.isLoading,
|
||||
isLoading = state.isLoading && !state.isRefreshing,
|
||||
errorMsg = state.errorMsg,
|
||||
isEnd = state.isEnd,
|
||||
onRetry = { viewModel.onIntent(ExploreShowIntent.LoadMore) }
|
||||
@@ -377,7 +377,7 @@ fun ExploreShowScreen(
|
||||
|
||||
item {
|
||||
LoadMoreFooter(
|
||||
isLoading = state.isLoading,
|
||||
isLoading = state.isLoading && !state.isRefreshing,
|
||||
errorMsg = state.errorMsg,
|
||||
isEnd = state.isEnd,
|
||||
onRetry = { viewModel.onIntent(ExploreShowIntent.LoadMore) }
|
||||
|
||||
Reference in New Issue
Block a user