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)) &&
|
(navigator.platform === 'MacIntel' && navigator.maxTouchPoints > 1)) &&
|
||||||
!window.MSStream;
|
!window.MSStream;
|
||||||
const IS_ANDROID = /Android/i.test(navigator.userAgent);
|
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 = {
|
type Props = {
|
||||||
location: { pathname: string },
|
location: { pathname: string },
|
||||||
|
@ -59,7 +59,7 @@ function Ads(props: Props) {
|
||||||
className,
|
className,
|
||||||
} = props;
|
} = props;
|
||||||
|
|
||||||
const shouldShowAds = SHOW_ADS && !authenticated && !isFirefoxAndroid;
|
const shouldShowAds = SHOW_ADS && !authenticated;
|
||||||
const mobileAds = IS_ANDROID || IS_IOS;
|
const mobileAds = IS_ANDROID || IS_IOS;
|
||||||
|
|
||||||
// this is populated from app based on location
|
// this is populated from app based on location
|
||||||
|
|
Loading…
Reference in a new issue