mirror of
https://github.com/BlueWallet/BlueWallet.git
synced 2025-03-26 08:55:56 +01:00
Merge pull request #5801 from BlueWallet/action
FIX: Call dismiss on ActionSheet to avoid duplicate firing
This commit is contained in:
commit
bd986d580e
1 changed files with 1 additions and 0 deletions
|
@ -2,6 +2,7 @@ import { ActionSheetIOS, InteractionManager } from 'react-native';
|
|||
|
||||
export default class ActionSheet {
|
||||
static showActionSheetWithOptions(options, completion) {
|
||||
ActionSheetIOS.dismissActionSheet();
|
||||
InteractionManager.runAfterInteractions(() => {
|
||||
ActionSheetIOS.showActionSheetWithOptions(options, completion);
|
||||
});
|
||||
|
|
Loading…
Add table
Reference in a new issue