Show Google sign-in button on all devices
This commit is contained in:
+2
-4
@@ -650,10 +650,8 @@ const auth = getAuth(fbApp);
|
|||||||
const db = getFirestore(fbApp);
|
const db = getFirestore(fbApp);
|
||||||
|
|
||||||
const isIOS = /iPad|iPhone|iPod/.test(navigator.userAgent) || (navigator.platform === 'MacIntel' && navigator.maxTouchPoints > 1);
|
const isIOS = /iPad|iPhone|iPod/.test(navigator.userAgent) || (navigator.platform === 'MacIntel' && navigator.maxTouchPoints > 1);
|
||||||
if (!isIOS) {
|
document.getElementById('google-signin-btn').style.display = 'flex';
|
||||||
document.getElementById('google-signin-btn').style.display = 'flex';
|
document.getElementById('google-divider').style.display = 'flex';
|
||||||
document.getElementById('google-divider').style.display = 'flex';
|
|
||||||
}
|
|
||||||
|
|
||||||
let currentUser = null;
|
let currentUser = null;
|
||||||
let currentUserData = null;
|
let currentUserData = null;
|
||||||
|
|||||||
Reference in New Issue
Block a user