Projet

Général

Profil

0001-templates-don-t-display-as-standalone-app-unless-ask.patch

Frédéric Péters, 12 août 2018 16:22

Télécharger (1,45 ko)

Voir les différences:

Subject: [PATCH 1/2] templates: don't display as standalone app unless asking
 so (#25343)

 templates/combo/manifest.json | 2 +-
 themes.json                   | 6 ++++--
 2 files changed, 5 insertions(+), 3 deletions(-)
templates/combo/manifest.json
19 19
    {% endblock %}
20 20
    {% block extra %}
21 21
    {% endblock %}
22
    "display": "{% firstof pwa_display "standalone" %}"
22
    "display": "{% firstof pwa_display "browser" %}"
23 23
}
themes.json
135 135
     "no_extra_js": false,
136 136
     "theme_color": "#DA0D02",
137 137
     "icon_sizes": ["48", "96", "192", "256", "512"],
138
     "icon_prefix": "img/launcher-icon-"
138
     "icon_prefix": "img/launcher-icon-",
139
     "pwa_display": "standalone"
139 140
   }
140 141
  },
141 142
  {"id": "grandlyon-sau",
......
532 533
     "include_top_links": false,
533 534
     "theme_color": "#DC1822",
534 535
     "icon_sizes": ["48", "96", "192", "256", "512"],
535
     "icon_prefix": "img/launcher-icon-"
536
     "icon_prefix": "img/launcher-icon-",
537
     "pwa_display": "standalone"
536 538
   }
537 539
  },
538 540
  {"id": "tournai",
539
-