Skip to content

Commit

Permalink
fix/#223 충돌 해결
Browse files Browse the repository at this point in the history
  • Loading branch information
youz2me committed Jul 18, 2024
1 parent 199d1e4 commit 2432bde
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 13 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ class NicknameViewModel {

private func updateNickname(nickname: String) -> Observable<Result<ResponseBodyDTO<NameResponseModel>, Error>> {
return Observable.create { [weak self] observer in
guard let self = self, let accessToken = self.authService.getAccessToken() else {
guard let self = self, let _ = self.authService.getAccessToken() else {
observer.onNext(.failure(NSError(domain: "No access token available", code: 0, userInfo: nil)))
observer.onCompleted()
return Disposables.create()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -36,18 +36,6 @@ class PagePromiseViewController: BaseViewController {
setupNavigationBarBackButton()
}

override func viewWillAppear(_ animated: Bool) {
super.viewWillAppear(animated)

navigationController?.isNavigationBarHidden = false
}

override func viewWillDisappear(_ animated: Bool) {
super.viewWillDisappear(animated)

navigationController?.isNavigationBarHidden = true
}

// MARK: - LifeCycle

override func viewWillAppear(_ animated: Bool) {
Expand Down

0 comments on commit 2432bde

Please sign in to comment.