Skip to content

Commit

Permalink
Update SettingsVC.swift
Browse files Browse the repository at this point in the history
  • Loading branch information
zeeshanmakeen committed Oct 3, 2024
1 parent f42a1a0 commit 9ea9539
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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
}
}

Expand Down

0 comments on commit 9ea9539

Please sign in to comment.