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:
parent
a2931d19ae
commit
413481f953
1 changed files with 1 additions and 0 deletions
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue