Skip to content

Commit

Permalink
style(approval): list footer
Browse files Browse the repository at this point in the history
  • Loading branch information
hz002 committed Dec 6, 2024
1 parent 4a0ccc7 commit b040a79
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -168,11 +168,18 @@ function CardProto({
{ellipsisAddress(contract.id)}
</Text>
</View>
<CopyAddressIcon
<Text
style={[styles.contractName]}
ellipsizeMode="tail"
numberOfLines={1}>
{/* ({contract.name}{contract.name}{contract.name}{contract.name}{contract.name}) */}
({contract.name})
</Text>
{/* <CopyAddressIcon
address={contract.id}
style={{ marginLeft: 2 }}
color={colors2024['neutral-foot']}
/>
/> */}
</View>
</View>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -183,9 +183,11 @@ export default function BottomSheetApprovalContract({
initialNumToRender={4}
maxToRenderPerBatch={20}
ListFooterComponent={
<View style={styles.listFooterContainer}>
{isFetchingNextPage ? <ActivityIndicator /> : null}
</View>
sectionList.length >= 15 ? (
<View style={styles.listFooterContainer}>
{isFetchingNextPage ? <ActivityIndicator /> : null}
</View>
) : null
}
style={[styles.scrollableView, styles.scrollableArea]}
contentContainerStyle={styles.listContainer}
Expand Down

0 comments on commit b040a79

Please sign in to comment.