Status bar is unreadable when using PWA in dark mode on Firefox Android

Fixes #2055
This commit is contained in:
Frédéric Guillot 2023-09-11 19:46:42 -07:00
parent 2104eb85d7
commit a73d58aad5

View file

@ -40,7 +40,6 @@ func (h *handler) showWebManifest(w http.ResponseWriter, r *http.Request) {
Icons []webManifestIcon `json:"icons"`
ShareTarget webManifestShareTarget `json:"share_target"`
Display string `json:"display"`
ThemeColor string `json:"theme_color"`
BackgroundColor string `json:"background_color"`
}
@ -60,7 +59,6 @@ func (h *handler) showWebManifest(w http.ResponseWriter, r *http.Request) {
Description: "Minimalist Feed Reader",
Display: displayMode,
StartURL: route.Path(h.router, "login"),
ThemeColor: themeColor,
BackgroundColor: themeColor,
Icons: []webManifestIcon{
{Source: route.Path(h.router, "appIcon", "filename", "icon-120.png"), Sizes: "120x120", Type: "image/png", Purpose: "any"},