From c7940a92a8b03c2ab435a7833237135be531878a Mon Sep 17 00:00:00 2001 From: Sadaqat Ali <48380998+aliseyalvi@users.noreply.github.com> Date: Thu, 12 Jan 2023 19:47:14 +0500 Subject: [PATCH 1/2] fixed pull to refresh bug in points screen --- src/screens/assetDetails/screen/assetDetailsScreen.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/screens/assetDetails/screen/assetDetailsScreen.tsx b/src/screens/assetDetails/screen/assetDetailsScreen.tsx index 7e1928d92..2dfad2c24 100644 --- a/src/screens/assetDetails/screen/assetDetailsScreen.tsx +++ b/src/screens/assetDetails/screen/assetDetailsScreen.tsx @@ -95,7 +95,7 @@ const AssetDetailsScreen = ({ navigation, route }: AssetDetailsScreenProps) => { const _fetchDetails = async (refresh = false) => { if (refresh) { - walletQuery.refresh(); + walletQuery?.refetch(); } else if (noMoreActivities || loading) { console.log('Skipping transaction fetch', completedActivities.lastItem?.trxIndex); return; @@ -221,7 +221,7 @@ const AssetDetailsScreen = ({ navigation, route }: AssetDetailsScreenProps) => { header={_renderHeaderComponent} completedActivities={completedActivities} pendingActivities={coinActivities?.pending || []} - refreshing={refreshing || walletQuery.isRefreshing} + refreshing={refreshing || walletQuery.isRefetching} loading={loading} isEngine={coinData?.isEngine} onEndReached={_fetchDetails} From f2e9e9b64c89f77893c300cb68d449b977a05746 Mon Sep 17 00:00:00 2001 From: Sadaqat Ali <48380998+aliseyalvi@users.noreply.github.com> Date: Thu, 12 Jan 2023 19:56:58 +0500 Subject: [PATCH 2/2] changed action modal text for transaction --- src/config/locales/en-US.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/config/locales/en-US.json b/src/config/locales/en-US.json index 33d4443a0..45d757715 100644 --- a/src/config/locales/en-US.json +++ b/src/config/locales/en-US.json @@ -652,7 +652,7 @@ "amount_information": "Drag the slider to adjust the amount", "amount": "Amount", "memo": "Memo", - "information": "Are you sure to transfer funds?", + "information": "Continue transaction?", "amount_desc": "Balance", "memo_desc": "This memo is public", "convert_desc": "Convert takes 3.5 days and NOT recommended IF HBD price is higher than $1",