Fix web app icon sizes property name

This commit is contained in:
Karina Kwiatek 2023-01-21 18:15:18 +01:00
parent 27318f302c
commit 73082975c4
1 changed files with 2 additions and 2 deletions

View File

@ -39,8 +39,8 @@ class ManifestsController < ApplicationController
def webapp_icons
%i[1024 512 384 192 128 96 72 48].map do |size|
[
{ src: "/icons/icon_x#{size}.webp", size: "#{size}x#{size}", type: "image/webp" },
{ src: "/icons/icon_x#{size}.png", size: "#{size}x#{size}", type: "image/png" }
{ src: "/icons/icon_x#{size}.webp", sizes: "#{size}x#{size}", type: "image/webp" },
{ src: "/icons/icon_x#{size}.png", sizes: "#{size}x#{size}", type: "image/png" }
]
end.flatten
end