mirror of
https://github.com/BlueWallet/BlueWallet.git
synced 2024-11-19 09:50:15 +01:00
FIX: Browser crash when accessing wallet
This commit is contained in:
parent
6424784d0b
commit
b499339c7d
@ -464,6 +464,10 @@ export default class Browser extends Component {
|
||||
placeholderTextColor="#81868e"
|
||||
style={styles.safeURLText}
|
||||
editable
|
||||
textContentType="URL"
|
||||
keyboardType="url"
|
||||
autoCorrect={false}
|
||||
autoCapitalize="none"
|
||||
onSubmitEditing={() => {
|
||||
Keyboard.dismiss();
|
||||
let url = this.state.stateURL;
|
||||
|
@ -93,7 +93,6 @@ const ScanLndInvoice = () => {
|
||||
}
|
||||
// eslint-disable-next-line react-hooks/exhaustive-deps
|
||||
}, [wallet]),
|
||||
[],
|
||||
);
|
||||
|
||||
useEffect(() => {
|
||||
|
@ -379,7 +379,7 @@ const WalletTransactions = () => {
|
||||
screen: 'LappBrowser',
|
||||
params: {
|
||||
fromSecret: wallet.current.getSecret(),
|
||||
fromWallet: wallet,
|
||||
fromWallet: wallet.current,
|
||||
url: 'https://duckduckgo.com',
|
||||
},
|
||||
});
|
||||
|
Loading…
Reference in New Issue
Block a user