fix pwa display mode detection
This commit is contained in:
+1
-1
@@ -342,7 +342,7 @@ class GeckoPwaApiImpl(
|
||||
currentUrl = currentUrl,
|
||||
name = name,
|
||||
shortName = shortName,
|
||||
display = display?.name?.lowercase(),
|
||||
display = display?.name?.lowercase()?.replace("_", "-"),
|
||||
themeColor = themeColor?.let { String.format("#%06X", 0xFFFFFF and it) },
|
||||
backgroundColor = backgroundColor?.let { String.format("#%06X", 0xFFFFFF and it) },
|
||||
scope = scope,
|
||||
|
||||
+1
-1
@@ -320,7 +320,7 @@ class Events(
|
||||
currentUrl = currentUrl,
|
||||
name = manifest.name,
|
||||
shortName = manifest.shortName,
|
||||
display = manifest.display?.name?.lowercase(),
|
||||
display = manifest.display?.name?.lowercase()?.replace("_", "-"),
|
||||
themeColor = manifest.themeColor?.let { String.format("#%06X", 0xFFFFFF and it) },
|
||||
backgroundColor = manifest.backgroundColor?.let { String.format("#%06X", 0xFFFFFF and it) },
|
||||
scope = manifest.scope,
|
||||
|
||||
Reference in New Issue
Block a user