A platform for community discussion. Free, open, simple.
FEATURE: Add support for maskable icons in the PWA manifest
Rafael dos Santos Silva3e590b87cf09
diff --git a/app/controllers/metadata_controller.rb b/app/controllers/metadata_controller.rbindex 189852afb15..51d1a1e1f88 100644--- a/app/controllers/metadata_controller.rb+++ b/app/controllers/metadata_controller.rb@@ -49,6 +49,7 @@ class MetadataController < ApplicationControllerlogo = SiteSetting.site_manifest_icon_urlmanifest[:icons] << {src: UrlHelper.absolute(logo),+ purpose: "maskable",sizes: "512x512",type: MiniMime.lookup_by_filename(logo)&.content_type || "image/png"} if logo