Skip to content

Commit

Permalink
Fix styling
Browse files Browse the repository at this point in the history
  • Loading branch information
atmonshi authored and github-actions[bot] committed Aug 19, 2023
1 parent 2bc0889 commit 88a7b93
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions src/CoreServiceProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -27,10 +27,10 @@ public function packageBooted(): void
'rain',
'rhea',
]);
AboutCommand::add('Zeus', fn() => [
AboutCommand::add('Zeus', fn () => [
'Core Version' => InstalledVersions::getPrettyVersion('lara-zeus/core'),
'Packages' => $packages
->filter(fn(string $package): bool => InstalledVersions::isInstalled("lara-zeus/{$package}"))
->filter(fn (string $package): bool => InstalledVersions::isInstalled("lara-zeus/{$package}"))
->join(', '),
]);
}
Expand All @@ -40,7 +40,7 @@ public function packageBooted(): void
});

FilamentAsset::register([
Css::make('filament-lara-zeus', __DIR__.'/../resources/dist/lara-zeus.css'),
Css::make('filament-lara-zeus', __DIR__ . '/../resources/dist/lara-zeus.css'),
], 'lara-zeus');
}

Expand All @@ -55,9 +55,9 @@ public function configurePackage(Package $package): void

public static function setThemePath($path): void
{
$viewPath = 'zeus::themes.'.config('zeus.theme').'.'.$path;
View::share($path.'Theme', $viewPath);
App::singleton($path.'Theme', function () use ($viewPath) {
$viewPath = 'zeus::themes.' . config('zeus.theme') . '.' . $path;
View::share($path . 'Theme', $viewPath);
App::singleton($path . 'Theme', function () use ($viewPath) {
return $viewPath;
});
}
Expand Down

0 comments on commit 88a7b93

Please sign in to comment.