remove rightBarButtonItem when addSkillToMe success, then sync

This commit is contained in:
nixzhu
2015-09-08 15:15:09 +08:00
parent 21faf11937
commit 854cff5c8a
@@ -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 {
}
})
}