File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -330,10 +330,10 @@ public static function infolist(Schema $schema): Schema
330330 TextEntry::make ('size ' )
331331 ->label (__ ('Size ' ))
332332 ->formatStateUsing (fn (int $ state ): string => match (true ) {
333- $ state >= 1073741824 => number_format ($ state / 1073741824 , 2 ). ' GB ' ,
334- $ state >= 1048576 => number_format ($ state / 1048576 , 2 ). ' MB ' ,
335- $ state >= 1024 => number_format ($ state / 1024 , 2 ). ' KB ' ,
336- default => $ state. ' bytes ' ,
333+ $ state >= 1073741824 => number_format ($ state / 1073741824 , 2 ) . ' GB ' ,
334+ $ state >= 1048576 => number_format ($ state / 1048576 , 2 ) . ' MB ' ,
335+ $ state >= 1024 => number_format ($ state / 1024 , 2 ) . ' KB ' ,
336+ default => $ state . ' bytes ' ,
337337 }),
338338 TextEntry::make ('mime ' )
339339 ->label (__ ('Mime Type ' )),
You can’t perform that action at this time.
0 commit comments