Skip to content

Commit

Permalink
Merge pull request BlueWallet#5039 from BlueWallet/Ability-to-send-MA…
Browse files Browse the repository at this point in the history
…X-is-disabled-after-scanning-QR-code-#4985

FIX: Ability to send "MAX" is disabled after scanning QR code BlueWallet#4985
  • Loading branch information
GladosBlueWallet authored Sep 24, 2022
2 parents 851fe25 + 1cb1f17 commit a270903
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions ios/Podfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -300,7 +300,7 @@ PODS:
- React-Core
- react-native-image-picker (4.8.5):
- React-Core
- react-native-ios-context-menu (1.7.4):
- react-native-ios-context-menu (1.12.2):
- React-Core
- react-native-randombytes (3.6.1):
- React-Core
Expand Down Expand Up @@ -772,7 +772,7 @@ SPEC CHECKSUMS:
react-native-fingerprint-scanner: ac6656f18c8e45a7459302b84da41a44ad96dbbe
react-native-idle-timer: f7f651542b39dce9b9473e4578cb64a255075f17
react-native-image-picker: cd420f97f6ed6ff74fc4686d27dbcfdbd051db91
react-native-ios-context-menu: 7bf49ec6006cc0c61d873419557b85eb1b9629fb
react-native-ios-context-menu: 46b2b5e5b1467564cb7f7729e78adbd0738620a0
react-native-randombytes: 421f1c7d48c0af8dbcd471b0324393ebf8fe7846
react-native-safe-area-context: 9e40fb181dac02619414ba1294d6c2a807056ab9
react-native-tcp-socket: c1b7297619616b4c9caae6889bcb0aba78086989
Expand Down
4 changes: 2 additions & 2 deletions screen/send/details.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import React, { useState, useRef, useEffect, useCallback, useContext, useMemo } from 'react';
import React, { useState, useRef, useEffect, useCallback, useContext, useMemo, useLayoutEffect } from 'react';
import {
ActivityIndicator,
Alert,
Expand Down Expand Up @@ -99,7 +99,7 @@ const SendDetails = () => {
return initialFee;
}, [customFee, feePrecalc, networkTransactionFees]);

useEffect(() => {
useLayoutEffect(() => {
if (wallet) {
setHeaderRightOptions();
}
Expand Down

0 comments on commit a270903

Please sign in to comment.