mirror of
https://github.com/BlueWallet/BlueWallet.git
synced 2024-11-19 18:00:17 +01:00
Merge pull request #3840 from BlueWallet/timeout
FIX: Add timeouts for modal navigation
This commit is contained in:
commit
d4cc2ea18f
2
App.js
2
App.js
@ -333,7 +333,7 @@ const App = () => {
|
|||||||
onPress={async () => {
|
onPress={async () => {
|
||||||
setIsClipboardContentModalVisible(false);
|
setIsClipboardContentModalVisible(false);
|
||||||
const clipboard = await BlueClipboard.getClipboardContent();
|
const clipboard = await BlueClipboard.getClipboardContent();
|
||||||
setTimeout(() => handleOpenURL({ url: clipboard }), 100);
|
setTimeout(() => handleOpenURL({ url: clipboard }), 650);
|
||||||
}}
|
}}
|
||||||
/>
|
/>
|
||||||
</View>
|
</View>
|
||||||
|
@ -65,10 +65,8 @@
|
|||||||
allowLocationSimulation = "YES"
|
allowLocationSimulation = "YES"
|
||||||
launchAutomaticallySubstyle = "8"
|
launchAutomaticallySubstyle = "8"
|
||||||
notificationPayloadFile = "BlueWalletWatch Extension/PushNotificationPayload.apns">
|
notificationPayloadFile = "BlueWalletWatch Extension/PushNotificationPayload.apns">
|
||||||
<RemoteRunnable
|
<BuildableProductRunnable
|
||||||
runnableDebuggingMode = "2"
|
runnableDebuggingMode = "0">
|
||||||
BundleIdentifier = "com.apple.Carousel"
|
|
||||||
RemotePath = "/BlueWallet">
|
|
||||||
<BuildableReference
|
<BuildableReference
|
||||||
BuildableIdentifier = "primary"
|
BuildableIdentifier = "primary"
|
||||||
BlueprintIdentifier = "B40D4E2F225841EC00428FCC"
|
BlueprintIdentifier = "B40D4E2F225841EC00428FCC"
|
||||||
@ -76,7 +74,7 @@
|
|||||||
BlueprintName = "BlueWalletWatch"
|
BlueprintName = "BlueWalletWatch"
|
||||||
ReferencedContainer = "container:BlueWallet.xcodeproj">
|
ReferencedContainer = "container:BlueWallet.xcodeproj">
|
||||||
</BuildableReference>
|
</BuildableReference>
|
||||||
</RemoteRunnable>
|
</BuildableProductRunnable>
|
||||||
</LaunchAction>
|
</LaunchAction>
|
||||||
<ProfileAction
|
<ProfileAction
|
||||||
buildConfiguration = "Release"
|
buildConfiguration = "Release"
|
||||||
@ -86,10 +84,8 @@
|
|||||||
debugDocumentVersioning = "YES"
|
debugDocumentVersioning = "YES"
|
||||||
launchAutomaticallySubstyle = "8"
|
launchAutomaticallySubstyle = "8"
|
||||||
notificationPayloadFile = "BlueWalletWatch Extension/PushNotificationPayload.apns">
|
notificationPayloadFile = "BlueWalletWatch Extension/PushNotificationPayload.apns">
|
||||||
<RemoteRunnable
|
<BuildableProductRunnable
|
||||||
runnableDebuggingMode = "2"
|
runnableDebuggingMode = "0">
|
||||||
BundleIdentifier = "com.apple.Carousel"
|
|
||||||
RemotePath = "/BlueWallet">
|
|
||||||
<BuildableReference
|
<BuildableReference
|
||||||
BuildableIdentifier = "primary"
|
BuildableIdentifier = "primary"
|
||||||
BlueprintIdentifier = "B40D4E2F225841EC00428FCC"
|
BlueprintIdentifier = "B40D4E2F225841EC00428FCC"
|
||||||
@ -97,16 +93,7 @@
|
|||||||
BlueprintName = "BlueWalletWatch"
|
BlueprintName = "BlueWalletWatch"
|
||||||
ReferencedContainer = "container:BlueWallet.xcodeproj">
|
ReferencedContainer = "container:BlueWallet.xcodeproj">
|
||||||
</BuildableReference>
|
</BuildableReference>
|
||||||
</RemoteRunnable>
|
</BuildableProductRunnable>
|
||||||
<MacroExpansion>
|
|
||||||
<BuildableReference
|
|
||||||
BuildableIdentifier = "primary"
|
|
||||||
BlueprintIdentifier = "B40D4E2F225841EC00428FCC"
|
|
||||||
BuildableName = "BlueWalletWatch.app"
|
|
||||||
BlueprintName = "BlueWalletWatch"
|
|
||||||
ReferencedContainer = "container:BlueWallet.xcodeproj">
|
|
||||||
</BuildableReference>
|
|
||||||
</MacroExpansion>
|
|
||||||
</ProfileAction>
|
</ProfileAction>
|
||||||
<AnalyzeAction
|
<AnalyzeAction
|
||||||
buildConfiguration = "Debug">
|
buildConfiguration = "Debug">
|
||||||
|
@ -64,10 +64,8 @@
|
|||||||
debugServiceExtension = "internal"
|
debugServiceExtension = "internal"
|
||||||
allowLocationSimulation = "YES"
|
allowLocationSimulation = "YES"
|
||||||
notificationPayloadFile = "BlueWalletWatch Extension/PushNotificationPayload.apns">
|
notificationPayloadFile = "BlueWalletWatch Extension/PushNotificationPayload.apns">
|
||||||
<RemoteRunnable
|
<BuildableProductRunnable
|
||||||
runnableDebuggingMode = "2"
|
runnableDebuggingMode = "0">
|
||||||
BundleIdentifier = "com.apple.Carousel"
|
|
||||||
RemotePath = "/BlueWallet">
|
|
||||||
<BuildableReference
|
<BuildableReference
|
||||||
BuildableIdentifier = "primary"
|
BuildableIdentifier = "primary"
|
||||||
BlueprintIdentifier = "B40D4E2F225841EC00428FCC"
|
BlueprintIdentifier = "B40D4E2F225841EC00428FCC"
|
||||||
@ -75,7 +73,7 @@
|
|||||||
BlueprintName = "BlueWalletWatch"
|
BlueprintName = "BlueWalletWatch"
|
||||||
ReferencedContainer = "container:BlueWallet.xcodeproj">
|
ReferencedContainer = "container:BlueWallet.xcodeproj">
|
||||||
</BuildableReference>
|
</BuildableReference>
|
||||||
</RemoteRunnable>
|
</BuildableProductRunnable>
|
||||||
</LaunchAction>
|
</LaunchAction>
|
||||||
<ProfileAction
|
<ProfileAction
|
||||||
buildConfiguration = "Release"
|
buildConfiguration = "Release"
|
||||||
@ -83,10 +81,8 @@
|
|||||||
savedToolIdentifier = ""
|
savedToolIdentifier = ""
|
||||||
useCustomWorkingDirectory = "NO"
|
useCustomWorkingDirectory = "NO"
|
||||||
debugDocumentVersioning = "YES">
|
debugDocumentVersioning = "YES">
|
||||||
<RemoteRunnable
|
<BuildableProductRunnable
|
||||||
runnableDebuggingMode = "2"
|
runnableDebuggingMode = "0">
|
||||||
BundleIdentifier = "com.apple.Carousel"
|
|
||||||
RemotePath = "/BlueWallet">
|
|
||||||
<BuildableReference
|
<BuildableReference
|
||||||
BuildableIdentifier = "primary"
|
BuildableIdentifier = "primary"
|
||||||
BlueprintIdentifier = "B40D4E2F225841EC00428FCC"
|
BlueprintIdentifier = "B40D4E2F225841EC00428FCC"
|
||||||
@ -94,16 +90,7 @@
|
|||||||
BlueprintName = "BlueWalletWatch"
|
BlueprintName = "BlueWalletWatch"
|
||||||
ReferencedContainer = "container:BlueWallet.xcodeproj">
|
ReferencedContainer = "container:BlueWallet.xcodeproj">
|
||||||
</BuildableReference>
|
</BuildableReference>
|
||||||
</RemoteRunnable>
|
</BuildableProductRunnable>
|
||||||
<MacroExpansion>
|
|
||||||
<BuildableReference
|
|
||||||
BuildableIdentifier = "primary"
|
|
||||||
BlueprintIdentifier = "B40D4E2F225841EC00428FCC"
|
|
||||||
BuildableName = "BlueWalletWatch.app"
|
|
||||||
BlueprintName = "BlueWalletWatch"
|
|
||||||
ReferencedContainer = "container:BlueWallet.xcodeproj">
|
|
||||||
</BuildableReference>
|
|
||||||
</MacroExpansion>
|
|
||||||
</ProfileAction>
|
</ProfileAction>
|
||||||
<AnalyzeAction
|
<AnalyzeAction
|
||||||
buildConfiguration = "Debug">
|
buildConfiguration = "Debug">
|
||||||
|
@ -412,13 +412,17 @@ const WalletsAddMultisigStep2 = () => {
|
|||||||
fs.showActionSheet({ anchor: findNodeHandle(openScannerButton.current) }).then(onBarScanned);
|
fs.showActionSheet({ anchor: findNodeHandle(openScannerButton.current) }).then(onBarScanned);
|
||||||
} else {
|
} else {
|
||||||
setIsProvideMnemonicsModalVisible(false);
|
setIsProvideMnemonicsModalVisible(false);
|
||||||
navigation.navigate('ScanQRCodeRoot', {
|
setTimeout(
|
||||||
screen: 'ScanQRCode',
|
() =>
|
||||||
params: {
|
navigation.navigate('ScanQRCodeRoot', {
|
||||||
onBarScanned: onBarScanned,
|
screen: 'ScanQRCode',
|
||||||
showFileImportButton: true,
|
params: {
|
||||||
},
|
onBarScanned: onBarScanned,
|
||||||
});
|
showFileImportButton: true,
|
||||||
|
},
|
||||||
|
}),
|
||||||
|
650,
|
||||||
|
);
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -463,19 +463,23 @@ const ViewEditMultisigCosigners = () => {
|
|||||||
});
|
});
|
||||||
} else {
|
} else {
|
||||||
setIsProvideMnemonicsModalVisible(false);
|
setIsProvideMnemonicsModalVisible(false);
|
||||||
navigate('ScanQRCodeRoot', {
|
setTimeout(
|
||||||
screen: 'ScanQRCode',
|
() =>
|
||||||
params: {
|
navigate('ScanQRCodeRoot', {
|
||||||
launchedBy: route.name,
|
screen: 'ScanQRCode',
|
||||||
onBarScanned: result => {
|
params: {
|
||||||
// Triggers FlatList re-render
|
launchedBy: route.name,
|
||||||
setImportText(result);
|
onBarScanned: result => {
|
||||||
//
|
// Triggers FlatList re-render
|
||||||
_handleUseMnemonicPhrase(result);
|
setImportText(result);
|
||||||
},
|
//
|
||||||
showFileImportButton: true,
|
_handleUseMnemonicPhrase(result);
|
||||||
},
|
},
|
||||||
});
|
showFileImportButton: true,
|
||||||
|
},
|
||||||
|
}),
|
||||||
|
650,
|
||||||
|
);
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user