diff --git a/src/MediaPickerServiceProvider.php b/src/MediaPickerServiceProvider.php index 481baa5..d863d81 100644 --- a/src/MediaPickerServiceProvider.php +++ b/src/MediaPickerServiceProvider.php @@ -34,9 +34,7 @@ public function configurePackage(Package $package): void ->askToStarRepoOnGitHub('vormkracht10/filament-media-picker'); }); - $configFileName = $package->shortName(); - - if (file_exists($package->basePath("/../config/{$configFileName}.php"))) { + if (file_exists($package->basePath("/../config/media-picker.php"))) { $package->hasConfigFile(); }