From f1ef1883e9ed25826759c39425c4b4208cf9a02b Mon Sep 17 00:00:00 2001 From: Sterling Archer Date: Thu, 25 Jun 2026 11:16:11 -0700 Subject: [PATCH] Reset Google sign-in button state on sign out --- index.html | 3 +++ 1 file changed, 3 insertions(+) diff --git a/index.html b/index.html index 429f11a..f3428ef 100644 --- a/index.html +++ b/index.html @@ -1428,8 +1428,11 @@ window.signOut = async function() { if (!confirm('Sign out?')) return; teardown(); await fbSignOut(auth); + _initializingUser = false; currentUser = null; currentUserData = null; currentProfileData = null; currentStepsData = null; friendsData = {}; friendProfiles = {}; friendSteps = {}; + const btn = document.getElementById('google-signin-btn'); + if (btn) { btn.disabled = false; btn.innerHTML = ` Sign in with Google`; } showScreen('auth'); showAuthForm(); }