mirror of
https://github.com/wahyd4/Yep.git
synced 2026-08-11 22:06:40 +10:00
remove rightBarButtonItem when addSkillToMe success, then sync
This commit is contained in:
@@ -310,7 +310,13 @@ class SkillHomeViewController: CustomNavigationBarViewController {
|
||||
defaultFailureHandler(reason, errorMessage)
|
||||
|
||||
}, completion: { _ in
|
||||
|
||||
|
||||
dispatch_async(dispatch_get_main_queue()) { [weak self] in
|
||||
self?.navigationItem.rightBarButtonItem = nil
|
||||
}
|
||||
|
||||
syncMyInfoAndDoFurtherAction {
|
||||
}
|
||||
})
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user