Skip to content

Commit

Permalink
Bug Fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
realrashid committed May 26, 2021
1 parent 5f58a6b commit d4e40b4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Toaster.php
Original file line number Diff line number Diff line change
Expand Up @@ -424,8 +424,8 @@ public function animation($showAnimation, $hideAnimation)
if (!config('sweetalert.animation.enable')) {
config(['sweetalert.animation.enable' => true]);
}
$this->config['showClass'] = ['popup' => "animated {$showAnimation}"];
$this->config['hideClass'] = ['popup' => "animated {$hideAnimation}"];
$this->config['showClass'] = ['popup' => "animate__animated {$showAnimation}"];
$this->config['hideClass'] = ['popup' => "animate__animated {$hideAnimation}"];

$this->flash();
return $this;
Expand Down

0 comments on commit d4e40b4

Please sign in to comment.