diff --git a/src/Support/Config.php b/src/Support/Config.php index 9f518e5..0ab7c2c 100644 --- a/src/Support/Config.php +++ b/src/Support/Config.php @@ -11,7 +11,7 @@ public static function pluginRegistered(): bool return filament()->getCurrentPanel() && filament()->hasPlugin('filament-table-layout-toggle'); } - public static function defaultLayout(): bool + public static function defaultLayout(): string { if (self::pluginRegistered()) { return TableLayoutTogglePlugin::get()->defaultLayout();