From 9ea953976c17219fcb243581fad42a301524bf40 Mon Sep 17 00:00:00 2001 From: Zeeshan Sheikh Date: Thu, 3 Oct 2024 20:14:07 +0500 Subject: [PATCH] Update SettingsVC.swift --- .../Scenes/Settings/Controller/SettingsVC.swift | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/LocationServices/LocationServices/Scenes/Settings/Controller/SettingsVC.swift b/LocationServices/LocationServices/Scenes/Settings/Controller/SettingsVC.swift index 6ec8738a..90e8c70e 100644 --- a/LocationServices/LocationServices/Scenes/Settings/Controller/SettingsVC.swift +++ b/LocationServices/LocationServices/Scenes/Settings/Controller/SettingsVC.swift @@ -125,14 +125,14 @@ final class SettingsVC: UIViewController { @objc private func authorizationStatusChanged(_ notification: Notification) { DispatchQueue.main.async { - self.updateLogoutButtonVisibility() + // self.updateLogoutButtonVisibility() } } private func updateLogoutButtonVisibility() { // show logout button only if we are not signed in - self.logoutButton.isHidden = UserDefaultsHelper.getAppState() != .loggedIn - self.disconnectButton.isHidden = UserDefaultsHelper.getAppState() != .customAWSConnected + // self.logoutButton.isHidden = UserDefaultsHelper.getAppState() != .loggedIn + // self.disconnectButton.isHidden = UserDefaultsHelper.getAppState() != .customAWSConnected } }