mirror of
https://github.com/BlueWallet/BlueWallet.git
synced 2024-11-19 18:00:17 +01:00
wip
This commit is contained in:
parent
81485ff863
commit
6e7fcbeca6
@ -863,8 +863,8 @@ const SendDetails = () => {
|
|||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
const importTransactionMultisigScanQr = () => {
|
const importTransactionMultisigScanQr = async () => {
|
||||||
optionsModalRef.current?.dismiss();
|
await optionsModalRef.current?.dismiss();
|
||||||
requestCameraAuthorization().then(() => {
|
requestCameraAuthorization().then(() => {
|
||||||
navigation.navigate('ScanQRCodeRoot', {
|
navigation.navigate('ScanQRCodeRoot', {
|
||||||
screen: 'ScanQRCode',
|
screen: 'ScanQRCode',
|
||||||
@ -878,7 +878,7 @@ const SendDetails = () => {
|
|||||||
|
|
||||||
const handleAddRecipient = async () => {
|
const handleAddRecipient = async () => {
|
||||||
console.debug('handleAddRecipient');
|
console.debug('handleAddRecipient');
|
||||||
optionsModalRef.current?.dismiss();
|
await optionsModalRef.current?.dismiss();
|
||||||
setAddresses(addrs => [...addrs, { address: '', key: String(Math.random()) } as IPaymentDestinations]);
|
setAddresses(addrs => [...addrs, { address: '', key: String(Math.random()) } as IPaymentDestinations]);
|
||||||
|
|
||||||
await sleep(200); // wait for animation
|
await sleep(200); // wait for animation
|
||||||
@ -888,7 +888,7 @@ const SendDetails = () => {
|
|||||||
};
|
};
|
||||||
|
|
||||||
const handleRemoveRecipient = async () => {
|
const handleRemoveRecipient = async () => {
|
||||||
optionsModalRef.current?.dismiss();
|
await optionsModalRef.current?.dismiss();
|
||||||
const last = scrollIndex.current === addresses.length - 1;
|
const last = scrollIndex.current === addresses.length - 1;
|
||||||
LayoutAnimation.configureNext(LayoutAnimation.Presets.easeInEaseOut);
|
LayoutAnimation.configureNext(LayoutAnimation.Presets.easeInEaseOut);
|
||||||
setAddresses(addrs => {
|
setAddresses(addrs => {
|
||||||
@ -903,6 +903,7 @@ const SendDetails = () => {
|
|||||||
};
|
};
|
||||||
|
|
||||||
const handleCoinControl = async () => {
|
const handleCoinControl = async () => {
|
||||||
|
await optionsModalRef.current?.dismiss();
|
||||||
if (!wallet) return;
|
if (!wallet) return;
|
||||||
navigation.navigate('CoinControl', {
|
navigation.navigate('CoinControl', {
|
||||||
walletID: wallet?.getID(),
|
walletID: wallet?.getID(),
|
||||||
@ -911,8 +912,8 @@ const SendDetails = () => {
|
|||||||
};
|
};
|
||||||
|
|
||||||
const handleInsertContact = async () => {
|
const handleInsertContact = async () => {
|
||||||
if (!wallet) return;
|
|
||||||
await optionsModalRef.current?.dismiss();
|
await optionsModalRef.current?.dismiss();
|
||||||
|
if (!wallet) return;
|
||||||
navigation.navigate('PaymentCodeList', { walletID: wallet.getID() });
|
navigation.navigate('PaymentCodeList', { walletID: wallet.getID() });
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -474,7 +474,7 @@ const styles = StyleSheet.create({
|
|||||||
padding: 22,
|
padding: 22,
|
||||||
paddingTop: 66,
|
paddingTop: 66,
|
||||||
},
|
},
|
||||||
modalMinHeight: Platform.OS === 'android' ? { minHeight: 350 } : {},
|
modalMinHeight: Platform.OS === 'android' ? { minHeight: 420 } : {},
|
||||||
empty: {
|
empty: {
|
||||||
flex: 1,
|
flex: 1,
|
||||||
justifyContent: 'center',
|
justifyContent: 'center',
|
||||||
|
Loading…
Reference in New Issue
Block a user