Skip to content

Commit

Permalink
feat: attempt to use appShortName for the apple home screen icon (#297
Browse files Browse the repository at this point in the history
)

Co-authored-by: Evilebot Tnawi <[email protected]>
  • Loading branch information
EvanBacon and evilebottnawi authored Feb 14, 2020
1 parent 6448474 commit 9fa4945
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/config/html.js
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ module.exports = {
({ relative }) => `<link rel="apple-touch-icon" sizes="1024x1024" href="${relative("apple-touch-icon-1024x1024.png")}">`,
() => `<meta name="apple-mobile-web-app-capable" content="yes">`,
({ appleStatusBarStyle }) => `<meta name="apple-mobile-web-app-status-bar-style" content="${appleStatusBarStyle}">`,
({ appName }) => appName ? `<meta name="apple-mobile-web-app-title" content="${appName}">` : `<meta name="apple-mobile-web-app-title">`
({ appShortName, appName }) => (appShortName || appName) ? `<meta name="apple-mobile-web-app-title" content="${appShortName || appName}">` : `<meta name="apple-mobile-web-app-title">`
],
appleStartup: [
//
Expand Down

0 comments on commit 9fa4945

Please sign in to comment.