Commit 612f80b1 authored by Mahmoud Aglan's avatar Mahmoud Aglan

fix: restore Google login button on native (Flutter domains updated)

Co-Authored-By: 's avatarClaude Opus 4.6 <noreply@anthropic.com>
parent 90bc35aa
......@@ -84,11 +84,7 @@ export function mountLogin(el) {
scene.replace('auth-register');
});
const googleBtn = el.querySelector('#google-btn');
if (window.IS_NATIVE_APP) {
googleBtn.style.display = 'none';
}
googleBtn.addEventListener('click', () => {
el.querySelector('#google-btn').addEventListener('click', () => {
audio.play('click');
const redirect = encodeURIComponent(window.location.origin + '/');
window.location.href = `${SUPABASE_URL}/auth/v1/authorize?provider=google&redirect_to=${redirect}`;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment