File tree Expand file tree Collapse file tree 1 file changed +1
-9
lines changed
app/components/UI/CollectibleContracts Expand file tree Collapse file tree 1 file changed +1
-9
lines changed Original file line number Diff line number Diff line change @@ -144,10 +144,6 @@ const createStyles = (colors) =>
144
144
spinner : {
145
145
marginBottom : 8 ,
146
146
} ,
147
- loadingContainer : {
148
- alignItems : 'center' ,
149
- paddingVertical : 16 ,
150
- } ,
151
147
networkManagerWrapper : {
152
148
display : 'flex' ,
153
149
flexDirection : 'row' ,
@@ -381,8 +377,6 @@ const CollectibleContracts = ({
381
377
setIsAddNFTEnabled ( true ) ;
382
378
} , [ navigation , trackEvent , createEventBuilder ] ) ;
383
379
384
- const renderFooter = useCallback ( ( ) => null , [ ] ) ;
385
-
386
380
const renderCollectibleContract = useCallback (
387
381
( item , index ) => {
388
382
const contractCollectibles = collectibles ?. filter ( ( collectible ) =>
@@ -528,7 +522,6 @@ const CollectibleContracts = ({
528
522
/>
529
523
}
530
524
ListEmptyComponent = { renderEmpty ( ) }
531
- ListFooterComponent = { renderFooter ( ) }
532
525
estimatedItemSize = { 100 }
533
526
scrollEnabled = { false }
534
527
/>
@@ -541,7 +534,6 @@ const CollectibleContracts = ({
541
534
refreshing ,
542
535
onRefresh ,
543
536
renderCollectibleContract ,
544
- renderFooter ,
545
537
renderEmpty ,
546
538
isCollectionDetectionBannerVisible ,
547
539
styles . emptyView ,
@@ -620,7 +612,7 @@ const CollectibleContracts = ({
620
612
</ View >
621
613
</ View >
622
614
{ isNftFetchingProgress && (
623
- < View style = { styles . loadingContainer } >
615
+ < View style = { styles . footer } >
624
616
< ActivityIndicator
625
617
size = "large"
626
618
style = { styles . spinner }
You can’t perform that action at this time.
0 commit comments