Skip to content

Commit

Permalink
Fix styling
Browse files Browse the repository at this point in the history
  • Loading branch information
daurensky authored and github-actions[bot] committed Feb 15, 2024
1 parent c3bef15 commit ee6ed6b
Show file tree
Hide file tree
Showing 5 changed files with 15 additions and 16 deletions.
12 changes: 6 additions & 6 deletions src/UI/Filament/Resources/LocalizationResource.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,16 +2,16 @@

namespace AdminKit\Localizations\UI\Filament\Resources;

use Filament\Forms;
use Filament\Tables;
use Filament\Forms\Form;
use Filament\Tables\Table;
use Filament\Resources\Resource;
use AdminKit\Core\Facades\AdminKit;
use Filament\Tables\Columns\TextColumn;
use AdminKit\Localizations\Models\Localization;
use AdminKit\Localizations\UI\Filament\Resources\LocalizationResource\Pages;
use AdminKit\Localizations\UI\Filament\Resources\Widgets\LocalizationInformer;
use Filament\Forms;
use Filament\Forms\Form;
use Filament\Resources\Resource;
use Filament\Tables;
use Filament\Tables\Columns\TextColumn;
use Filament\Tables\Table;

class LocalizationResource extends Resource
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@

namespace AdminKit\Localizations\UI\Filament\Resources\LocalizationResource\Pages;

use Filament\Resources\Pages\CreateRecord;
use AdminKit\Localizations\Traits\LocalizationFiles;
use AdminKit\Localizations\UI\Filament\Resources\LocalizationResource;
use Filament\Resources\Pages\CreateRecord;

class CreateLocalization extends CreateRecord
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@

namespace AdminKit\Localizations\UI\Filament\Resources\LocalizationResource\Pages;

use Filament\Actions;
use Filament\Resources\Pages\EditRecord;
use AdminKit\Localizations\Traits\LocalizationFiles;
use AdminKit\Localizations\UI\Filament\Resources\LocalizationResource;
use Filament\Actions;
use Filament\Resources\Pages\EditRecord;

class EditLocalization extends EditRecord
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,14 @@

namespace AdminKit\Localizations\UI\Filament\Resources\LocalizationResource\Pages;

use Filament\Actions;
use Filament\Actions\Action;
use AdminKit\Core\Facades\AdminKit;
use Illuminate\Support\Facades\File;
use Filament\Notifications\Notification;
use Filament\Resources\Pages\ListRecords;
use AdminKit\Localizations\Models\Localization;
use AdminKit\Localizations\UI\Filament\Resources\LocalizationResource;
use AdminKit\Localizations\UI\Filament\Resources\Widgets\LocalizationInformer;
use Filament\Actions;
use Filament\Notifications\Notification;
use Filament\Resources\Pages\ListRecords;
use Illuminate\Support\Facades\File;

class ListLocalization extends ListRecords
{
Expand Down
4 changes: 2 additions & 2 deletions src/UI/Filament/Resources/Widgets/LocalizationInformer.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@

namespace AdminKit\Localizations\UI\Filament\Resources\Widgets;

use Filament\Widgets\Widget;
use AdminKit\Core\Facades\AdminKit;
use Filament\Widgets\Widget;
use Illuminate\Contracts\View\View;
use Illuminate\Support\Facades\File;
use Illuminate\Support\Facades\Storage;
Expand All @@ -22,7 +22,7 @@ public function render(): View
$exists[$locale] = File::exists($path);

if ($exists[$locale]) {
$sizes[$locale] = number_format(File::size($path) / 1024, 2) . ' Kb';
$sizes[$locale] = number_format(File::size($path) / 1024, 2).' Kb';
}

if ($exists[$locale]) {
Expand Down

0 comments on commit ee6ed6b

Please sign in to comment.