We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent eb88bfc commit b7e5a2bCopy full SHA for b7e5a2b
Fitfty/Projects/Profile/Sources/Profile/ViewControllers/ProfileViewController.swift
@@ -177,7 +177,6 @@ private extension ProfileViewController {
177
switch state {
178
case .update(let response):
179
self?.update(response)
180
- self?.navigationItem.rightBarButtonItem?.isEnabled = true
181
case .errorMessage(let message):
182
self?.showAlert(message: message)
183
case .isLoading(let isLoading):
@@ -237,7 +236,6 @@ private extension ProfileViewController {
237
236
action: #selector(didTapMoreVerticalButton)
238
)
239
navigationItem.rightBarButtonItem?.tintColor = .black
240
- navigationItem.rightBarButtonItem?.isEnabled = false
241
case .myProfile:
242
navigationController?.navigationBar.isHidden = true
243
}
0 commit comments