askvortsov1 / flarum-pwa

Progressive Web App support for Flarum
MIT License
34 stars 12 forks source link

By default, use default the community's logo for PWA's icons #8

Open danielunited opened 4 years ago

danielunited commented 4 years ago

Instead of forcing the user to upload the image 7 times to use the extension, use the default logo of his community (which is configured from the Appearance tab).

That way, the extension will be working once the user activates the extension.

Users would still be able to upload different sizes of their logo from an Advanced Settings panel (you'd need to click to see it).

askvortsov1 commented 1 year ago

This would be nice, but doesn't really work well because the dimensions for PWA need to be precise. Resizing at runtime is possible, but expensive.