Skip to content

Commit

Permalink
Added svg icon to manifest.json instead of the png one
Browse files Browse the repository at this point in the history
  • Loading branch information
rlinoz committed Oct 13, 2023
1 parent e02245c commit 7647df6
Show file tree
Hide file tree
Showing 3 changed files with 22 additions and 8 deletions.
1 change: 1 addition & 0 deletions config/webpack/webpack.common.js
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,7 @@ const webpackConfig = ({envFile = '.env', platform = 'web'}) => ({
{from: 'web/favicon-unread.png'},
{from: 'web/og-preview-image.png'},
{from: 'web/apple-touch-icon.png'},
{from: 'web/expensify-app-icon.svg'},
{from: 'web/manifest.json'},
{from: 'assets/css', to: 'css'},
{from: 'assets/fonts/web', to: 'fonts'},
Expand Down
18 changes: 18 additions & 0 deletions web/expensify-app-icon.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
11 changes: 3 additions & 8 deletions web/manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,9 @@
"name": "New Expensify",
"icons": [
{
"src": "/apple-touch-icon.png",
"type": "image/png",
"sizes": "512x512"
},
{
"src": "/apple-touch-icon.png",
"type": "image/png",
"sizes": "192x192"
"src": "/expensify-app-icon.svg",
"type": "image/svg+xml",
"sizes": "any"
}
],
"prefer_related_applications": true,
Expand Down

0 comments on commit 7647df6

Please sign in to comment.