Skip to content

Commit 04d4b00

Browse files
committed
Show footer total loading during search refresh
1 parent c5f42c1 commit 04d4b00

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

src/pages/Search/SearchPage.tsx

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,6 @@ function SearchPage({route}: SearchPageProps) {
6060
const isCurrentFooterState = footerCurrencyState.searchHash === currentSearchHash;
6161
const selectedCurrency = isCurrentFooterState ? footerCurrencyState.selectedCurrency : undefined;
6262
const defaultFooterCurrency = isCurrentFooterState ? footerCurrencyState.defaultCurrency : undefined;
63-
const pendingFooterCurrency = isCurrentFooterState ? footerCurrencyState.pendingCurrency : undefined;
6463

6564
useConfirmReadyToOpenApp();
6665
useSearchPageSetup(currentSearchQueryJSON);
@@ -206,7 +205,7 @@ function SearchPage({route}: SearchPageProps) {
206205
onDestinationVisible: overlayEndSubmitSpans,
207206
});
208207

209-
const isFooterTotalLoading = !!footerData.isLoading || (!!pendingFooterCurrency && !!metadata?.isLoading);
208+
const isFooterTotalLoading = !!footerData.isLoading || !!metadata?.isLoading;
210209

211210
return (
212211
<Animated.View style={[styles.flex1]}>

0 commit comments

Comments
 (0)