Skip to content

Commit

Permalink
[ADD] 토큰 추가
Browse files Browse the repository at this point in the history
  • Loading branch information
YoonAh-dev committed Jan 22, 2022
1 parent 5a10e0c commit 7aef9af
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Havit/Havit/Network/Foundation/APIEnvironment.swift
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,6 @@ extension APIEnvironment {
}

var token: String {
return "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6MSwiaWRGaXJlYmFzZSI6IiIsImlhdCI6MTY0MTk5ODM0MCwiZXhwIjoxNjQ0NTkwMzQwLCJpc3MiOiJoYXZpdCJ9.w1hhe2g29wGzF5nokiil8KFf_c3qqPCXdVIU-vZt7Wo"
return "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6MiwiaWRGaXJlYmFzZSI6IiIsImlhdCI6MTY0MjEzOTgwMCwiZXhwIjoxNjQ0NzMxODAwLCJpc3MiOiJoYXZpdCJ9.-VsZ4c5mU96GRwGSLjf-hSiU8HD-LVK8V3a5UszUAWk"
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -517,7 +517,11 @@ extension CategoryContentsViewController: UISearchControllerDelegate {

extension CategoryContentsViewController: UISearchBarDelegate {
func searchBarTextDidBeginEditing(_ searchBar: UISearchBar) {
navigationController?.pushViewController(SearchContentsViewController(), animated: true)
let searchContentViewController = SearchContentsViewController()
let navigationController = UINavigationController(rootViewController: searchContentViewController)
navigationController.modalTransitionStyle = .crossDissolve
navigationController.modalPresentationStyle = .overFullScreen
present(navigationController, animated: true, completion: nil)
}
}

Expand Down

0 comments on commit 7aef9af

Please sign in to comment.