Skip to content

Commit

Permalink
Fix: Update deprecated warning for drawer.triggerCustomView (fixes #542)
Browse files Browse the repository at this point in the history
  • Loading branch information
swashbuck authored May 24, 2024
1 parent 6a0014b commit be9d8e5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions js/deprecated.js
Original file line number Diff line number Diff line change
Expand Up @@ -56,8 +56,8 @@ Adapt.on({
drawer.close();
},
'drawer:triggerCustomView'() {
logging.deprecated('Use drawer.triggerCustomView(), Adapt.trigger(\'drawer:triggerCustomView\') will be removed in the future');
drawer.triggerCustomView();
logging.deprecated('Use drawer.openCustomView(), Adapt.trigger(\'drawer:triggerCustomView\') will be removed in the future');
drawer.openCustomView();
}
});

Expand Down

0 comments on commit be9d8e5

Please sign in to comment.