Skip to content

Commit

Permalink
Update BurntModule.ios.tsx
Browse files Browse the repository at this point in the history
  • Loading branch information
nandorojo authored May 8, 2023
1 parent 3d6b20f commit fcff341
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/BurntModule.ios.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ const getPlatfomIconProps = (params: IconParams) => {
return { ...params.ios, color };
};
export default {
toast(options: ToastOptions) {
toastAsync(options: ToastOptions) {
BurntModule.toast({
...options,
icon:
Expand All @@ -21,7 +21,7 @@ export default {
: undefined,
});
},
alert(options: AlertOptions) {
alertAsync(options: AlertOptions) {
BurntModule.alert({
...options,
icon:
Expand All @@ -30,7 +30,7 @@ export default {
: undefined,
});
},
dismissAllAlerts() {
dismissAllAlertsAsync() {
BurntModule.dismissAllAlerts();
},
};

0 comments on commit fcff341

Please sign in to comment.