Skip to content

Commit

Permalink
make it respect isDefaultNotificationDisabled
Browse files Browse the repository at this point in the history
  • Loading branch information
HotCustard authored May 30, 2020
1 parent 53822f9 commit aa719d3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Plugin/Message/ManagerInterfacePlugin.php
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ public function aroundAddComplexSuccessMessage(
array $data = [],
$group = null
) {
if ($identifier === 'addCartSuccessMessage' && $this->config->isEnabled()) {
if ($identifier === 'addCartSuccessMessage' && $this->config->isEnabled() && $this->config->isDefaultNotificationDisabled()) {
return $subject;
}

Expand Down

0 comments on commit aa719d3

Please sign in to comment.