File tree Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -124,7 +124,6 @@ export const CardScreen: React.FC<Props> = ({ navigation }) => {
124
124
125
125
const { LL } = useI18nContext ( )
126
126
127
- const loading = false // placeholder for query loading if we need to load card data in the future
128
127
const [ cardHtml , setCardHtml ] = useState < string | null > ( null )
129
128
const [ cardTag , setCardTag ] = useState < string | null > ( null )
130
129
const [ refreshBalance , setRefreshBalance ] = useState < string | null > ( "false" )
@@ -249,7 +248,7 @@ export const CardScreen: React.FC<Props> = ({ navigation }) => {
249
248
250
249
let ListEmptyContent : React . ReactNode
251
250
252
- if ( loading || ! initialized ) {
251
+ if ( ! initialized || priceLoading ) {
253
252
ListEmptyContent = (
254
253
< View style = { styles . activityIndicatorContainer } >
255
254
< ActivityIndicator size = "large" color = { colors . primary } />
@@ -416,7 +415,7 @@ export const CardScreen: React.FC<Props> = ({ navigation }) => {
416
415
/>
417
416
</ >
418
417
) }
419
- { ( ! cardHtml || ! refreshBalance ) && (
418
+ { ( ! cardHtml || ! refreshBalance ) && ! priceLoading && (
420
419
< ModalNfcFlashcard
421
420
isActive = { displayReceiveNfc }
422
421
setIsActive = { setDisplayReceiveNfc }
You can’t perform that action at this time.
0 commit comments