Add maskable icon support for Android (#20904)

* Add maskable icon support for Android

* Update manifest_serializer.rb

* Fix linting issue
lolsob-rspec
Chris Johnson 2022-11-17 09:52:30 +00:00 committed by GitHub
parent 2e118aa0e6
commit 5573d1db4e
1 changed files with 1 additions and 0 deletions

View File

@ -35,6 +35,7 @@ class ManifestSerializer < ActiveModel::Serializer
src: full_pack_url("media/icons/android-chrome-#{size}x#{size}.png"), src: full_pack_url("media/icons/android-chrome-#{size}x#{size}.png"),
sizes: "#{size}x#{size}", sizes: "#{size}x#{size}",
type: 'image/png', type: 'image/png',
purpose: 'any maskable',
} }
end end
end end