gearheads
/
mastodon
Archived
2
0
Fork 0

Add maskable icon support for Android (#20904)

* Add maskable icon support for Android

* Update manifest_serializer.rb

* Fix linting issue
gh/stable
Chris Johnson 2022-11-17 09:52:30 +00:00 committed by GitHub
parent a2931d19ae
commit 413481f953
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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