Skip to content

Commit

Permalink
Make the PWA Icon maskable
Browse files Browse the repository at this point in the history
Even though we added the margin, some Android devices still need it to
be maskable to properly understand the margin.
  • Loading branch information
CryZe committed Jun 9, 2024
1 parent 5ff3d17 commit e7e21b6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
1 change: 1 addition & 0 deletions src/assets/maskable.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
5 changes: 1 addition & 4 deletions webpack.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -111,6 +111,7 @@ export default async (env, argv) => {
new FaviconsWebpackPlugin({
logo: path.resolve("src/assets/icon.svg"),
inject: true,
logoMaskable: path.resolve("src/assets/maskable.svg"),
favicons: {
appName: "LiveSplit One",
appDescription: "A version of LiveSplit that works on a lot of platforms.",
Expand All @@ -126,10 +127,6 @@ export default async (env, argv) => {
appleStartup: {
offset: 15,
},
android: {
background: true,
offset: 10,
},
windows: false,
coast: false,
yandex: false,
Expand Down

0 comments on commit e7e21b6

Please sign in to comment.