mirror of
https://github.com/BlueWallet/BlueWallet.git
synced 2025-02-28 19:27:31 +01:00
Update ActionSheet.ios.ts
This commit is contained in:
parent
c41d8314e1
commit
8c68b00120
1 changed files with 3 additions and 1 deletions
|
@ -8,8 +8,10 @@ export default class ActionSheet {
|
|||
InteractionManager.runAfterInteractions(() => {
|
||||
const iosOptions = {
|
||||
...options,
|
||||
anchor: options.anchor,
|
||||
};
|
||||
if (options.anchor) {
|
||||
iosOptions.anchor = options.anchor;
|
||||
}
|
||||
ActionSheetIOS.showActionSheetWithOptions(iosOptions, completion);
|
||||
});
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue