diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 2aec8d7..014fdef 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -30,7 +30,7 @@ jobs: with: tag_name: ${{ steps.manifest.outputs.version }} release_name: Release ${{ steps.manifest.outputs.version }} - body: Minor Update - Updated google button + body: Minor Update - Typo in code env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} diff --git a/manifest.json b/manifest.json index 8a72fb9..a4c31a5 100644 --- a/manifest.json +++ b/manifest.json @@ -1,7 +1,7 @@ { "manifest_version": 3, "name": "GetItTogether", - "version": "1.4.4.4", + "version": "1.4.4.5", "key": "MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAni8XFkkQ4I+t3clNWVnatNTUPEHK59rsOv461uN3TdXtz4NDw0/2aymf+/LEHyp2Yky2JlyCnxAkndmPbcuDrXHvl7+O8XYeTavVn5Xm96A544dUeSzrzUjgWHGcR9ZJ+g9ahmukamW12TdggrtGJixY6n4rGIx0WW0XPOLUed93kZyN6B1axWj20MJ9Cax71LdVScNISfZ6qIrJZTJSnpnMCKZoo9ZlDIuwaFJn7zhSIajYF0quSazI/Cug9pUfw42f1O+abv46m0Mtzltr5exC4et5jRVEanQRhjwiCMLYP9aKceWkqo+9131arAb44lYrIlZtusT7XQ12By0Z/wIDAQAB", "description": "A tool set for chrome", "permissions": [ diff --git a/src/js/settings/settings.js b/src/js/settings/settings.js index eab7e70..a5c4491 100644 --- a/src/js/settings/settings.js +++ b/src/js/settings/settings.js @@ -125,7 +125,7 @@ async function updateGoogleAccountButton() { } const isLoggedIn = await checkLoginStatusWithoutLogin(); - console.log("Here I am"); + if (isLoggedIn) { const token = await getAuthToken(); const email = await getUserEmail(token); @@ -133,7 +133,7 @@ async function updateGoogleAccountButton() { loginButton.style.display = 'none'; // Hide Login Button logoutButton.style.display = 'block'; // Show Logout Button } else { - emailDisplay.textContent = 'Login to connect to out google account'; + emailDisplay.textContent = 'Log in through your google account to sync your tasks'; loginButton.style.display = 'block'; // Show Login Button loginButton.onclick = initiateGoogleLogin; // Restore original onclick event logoutButton.style.display = 'none'; // Hide Logout Button