2
0
mirror of https://github.com/fork-maintainers/iceraven-browser synced 2024-11-02 03:40:16 +00:00
This commit is contained in:
Simon Chae 2020-05-11 16:31:31 -04:00 committed by GitHub
parent e6e1a79358
commit 21ae2b8350

View File

@ -30,6 +30,7 @@ object Performance {
disableOnboarding(context) disableOnboarding(context)
disableTrackingProtectionPopups(context) disableTrackingProtectionPopups(context)
disableFirstTimePWAPopup(context)
} }
/** /**
@ -68,4 +69,11 @@ object Performance {
private fun disableTrackingProtectionPopups(context: Context) { private fun disableTrackingProtectionPopups(context: Context) {
Settings.getInstance(context).isOverrideTPPopupsForPerformanceTest = true Settings.getInstance(context).isOverrideTPPopupsForPerformanceTest = true
} }
/**
* Disables the first time PWA popup.
*/
private fun disableFirstTimePWAPopup(context: Context) {
Settings.getInstance(context).shouldShowFirstTimePwaFragment = false
}
} }