pull/600/head
Simon Chae 4 years ago committed by GitHub
parent e6e1a79358
commit 21ae2b8350

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

Loading…
Cancel
Save