Update transactions.js

This commit is contained in:
marcosrdz 2020-11-16 20:50:55 -05:00
parent ceba328351
commit 789b0deb70

View File

@ -457,7 +457,7 @@ const WalletTransactions = () => {
);
};
const copyFromClipbard = async () => {
const copyFromClipboard = async () => {
onBarCodeRead({ data: await Clipboard.getString() });
};
@ -514,7 +514,7 @@ const WalletTransactions = () => {
},
});
} else if (buttonIndex === 3) {
copyFromClipbard();
copyFromClipboard();
}
});
} else if (Platform.OS === 'android') {
@ -544,7 +544,7 @@ const WalletTransactions = () => {
if (!isClipboardEmpty) {
buttons.push({
text: loc.wallets.list_long_clipboard,
onPress: copyFromClipbard,
onPress: copyFromClipboard,
});
}
ActionSheet.showActionSheetWithOptions({
@ -596,7 +596,7 @@ const WalletTransactions = () => {
ListHeaderComponent={renderListHeaderComponent}
onEndReachedThreshold={0.3}
onEndReached={async () => {
// pagination in works. in this block we will add more txs to flatlist
// pagination in works. in this block we will add more txs to FlatList
// so as user scrolls closer to bottom it will render mode transactions
if (getTransactionsSliced(Infinity).length < limit) {