1
0
Fork 0
mirror of https://github.com/mastodon/mastodon.git synced 2024-08-20 21:08:15 -07:00

Add maskable icon support for Android (#20904)

* Add maskable icon support for Android

* Update manifest_serializer.rb

* Fix linting issue
This commit is contained in:
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

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