Skip to content

Commit

Permalink
fixed offline jumping behaviour
Browse files Browse the repository at this point in the history
  • Loading branch information
shubham1206agra committed Oct 7, 2023
1 parent 389d7b0 commit f9717fd
Showing 1 changed file with 8 additions and 6 deletions.
14 changes: 8 additions & 6 deletions src/components/AddressSearch/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -294,12 +294,14 @@ function AddressSearch(props) {
)
}
listLoaderComponent={
<View style={[styles.pv4]}>
<ActivityIndicator
color={themeColors.spinner}
size="small"
/>
</View>
props.network.isOffline ? null : (
<View style={[styles.pv4]}>
<ActivityIndicator
color={themeColors.spinner}
size="small"
/>
</View>
)
}
renderHeaderComponent={() =>
!props.value &&
Expand Down

0 comments on commit f9717fd

Please sign in to comment.