1
0
Fork 0

For #204 - Remove PWA Feature Flag

master
ekager 2020-04-13 18:12:22 -07:00 committed by Mihai Adrian
parent 69c7196e77
commit 9c56a8b387
2 changed files with 1 additions and 8 deletions

View File

@ -10,11 +10,6 @@ object FeatureFlags {
*/
const val pullToRefreshEnabled = false
/**
* Allows Progressive Web Apps to be installed to the device home screen.
*/
val progressiveWebApps = Config.channel.isNightlyOrDebug
/**
* Disables FxA Application Services Web Channels feature
*/

View File

@ -40,7 +40,6 @@ import mozilla.components.lib.dataprotect.generateEncryptionKey
import mozilla.components.service.sync.logins.SyncableLoginsStorage
import org.mozilla.fenix.AppRequestInterceptor
import org.mozilla.fenix.Config
import org.mozilla.fenix.FeatureFlags
import org.mozilla.fenix.HomeActivity
import org.mozilla.fenix.R
import org.mozilla.fenix.ext.settings
@ -177,8 +176,7 @@ class Core(private val context: Context) {
WebAppShortcutManager(
context,
client,
webAppManifestStorage,
supportWebApps = FeatureFlags.progressiveWebApps
webAppManifestStorage
)
}