Extracted app icon text, fixed issues

Tweaked sizes and meta tags based unpon ipad testing.
Fixed reduced sizes not being cleaned up.
This commit is contained in:
Dan Brown
2023-01-25 16:11:34 +00:00
parent 55b6a7842e
commit 3c658e39ab
5 changed files with 18 additions and 12 deletions

View File

@@ -123,7 +123,10 @@ class ImageRepo
public function saveNew(UploadedFile $uploadFile, string $type, int $uploadedTo = 0, int $resizeWidth = null, int $resizeHeight = null, bool $keepRatio = true): Image
{
$image = $this->imageService->saveNewFromUpload($uploadFile, $type, $uploadedTo, $resizeWidth, $resizeHeight, $keepRatio);
$this->loadThumbs($image);
if ($type !== 'system') {
$this->loadThumbs($image);
}
return $image;
}