Skip to content
Snippets Groups Projects
Unverified Commit 1a987243 authored by Zh4rsiest's avatar Zh4rsiest Committed by GitHub
Browse files

Updating variables in container

They both return an array with ["Iphone"] if you're from an iphone but the component expects bool variables.
parent 6f60324a
No related branches found
No related tags found
No related merge requests found
......@@ -7,8 +7,8 @@ import { meetingIsBreakout } from '/imports/ui/components/app/service';
const BROWSER_RESULTS = browser();
const isSafari = BROWSER_RESULTS.name === 'safari';
const isIphone = navigator.userAgent.match(/iPhone/i);
const noIOSFullscreen = (isSafari && BROWSER_RESULTS.versionNumber < 12) || isIphone;
const isIphone = (navigator.userAgent.match(/iPhone/i)) ? true : false;
const noIOSFullscreen = ((isSafari && BROWSER_RESULTS.versionNumber < 12) || isIphone) ? true : false;
const SettingsDropdownContainer = props => (
<SettingsDropdown {...props} />
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment