Skip to content

Commit

Permalink
Fix getPrimaryColor method not found
Browse files Browse the repository at this point in the history
  • Loading branch information
Hasnayeen committed Sep 11, 2023
1 parent 49f0871 commit 7e53b64
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Themes.php
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ public function getCurrentTheme(): Theme
public function getCurrentThemeColor(): array
{
if (! $this->getCurrentTheme() instanceof HasChangeableColor) {
return $this->getCurrentTheme()->getPrimaryColor();
return $this->getCurrentTheme()->getThemeColor();
}

if (config('themes.mode') === 'global') {
Expand Down

0 comments on commit 7e53b64

Please sign in to comment.