This commit is contained in:
2025-10-27 18:02:45 +05:00
parent a96f4fc8c8
commit 918663c758
5 changed files with 26 additions and 14 deletions

View File

@@ -3,6 +3,9 @@
namespace App\Providers;
use AbdulmajeedJamaan\FilamentTranslatableTabs\TranslatableTabs;
use Filament\Notifications\Livewire\Notifications;
use Filament\Support\Enums\Alignment;
use Filament\Support\Enums\VerticalAlignment;
use Illuminate\Contracts\Foundation\Application;
use Illuminate\Database\Eloquent\Model;
use Illuminate\Support\ServiceProvider;
@@ -25,6 +28,9 @@ class AppServiceProvider extends ServiceProvider
Model::unguard();
Model::shouldBeStrict(! app()->isProduction());
Notifications::alignment(Alignment::Center);
Notifications::verticalAlignment(VerticalAlignment::Center);
TranslatableTabs::configureUsing(function (TranslatableTabs $component) {
$component
->localesLabels(baseLocales())