Re-enable for Firefox Android
Since we are temporarily disabling the floating ad, it means that the invisible close button issue in Firefox Android is also temporarily not an issue.
This commit is contained in:
parent
cdcedb8063
commit
0fa20114be
1 changed files with 3 additions and 3 deletions
|
@ -29,9 +29,9 @@ const IS_IOS =
|
|||
(navigator.platform === 'MacIntel' && navigator.maxTouchPoints > 1)) &&
|
||||
!window.MSStream;
|
||||
const IS_ANDROID = /Android/i.test(navigator.userAgent);
|
||||
const IS_FIREFOX = /Firefox/i.test(navigator.userAgent);
|
||||
// const IS_FIREFOX = /Firefox/i.test(navigator.userAgent);
|
||||
|
||||
const isFirefoxAndroid = IS_ANDROID && IS_FIREFOX;
|
||||
// const isFirefoxAndroid = IS_ANDROID && IS_FIREFOX;
|
||||
|
||||
type Props = {
|
||||
location: { pathname: string },
|
||||
|
@ -59,7 +59,7 @@ function Ads(props: Props) {
|
|||
className,
|
||||
} = props;
|
||||
|
||||
const shouldShowAds = SHOW_ADS && !authenticated && !isFirefoxAndroid;
|
||||
const shouldShowAds = SHOW_ADS && !authenticated;
|
||||
const mobileAds = IS_ANDROID || IS_IOS;
|
||||
|
||||
// this is populated from app based on location
|
||||
|
|
Loading…
Reference in a new issue