Skip to content

Commit

Permalink
✅[CHORE] #146 - 옵셔널 언래핑 코드 수정
Browse files Browse the repository at this point in the history
  • Loading branch information
jumining committed Jan 19, 2023
1 parent 9ccbc42 commit 52824cf
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -259,7 +259,8 @@ extension StudioMapSearchViewController {
case .success(let data):
if let search = data as? StudioSearchResponse {
self.serverSearchStudios = search
if ((self.serverSearchStudios?.studios.isEmpty) != nil) {
guard let isEmptyStudios = self.serverSearchStudios?.studios.isEmpty else { return }
if isEmptyStudios {
self.changeEmptySearchView()
} else {
self.tableView.reloadData()
Expand Down

0 comments on commit 52824cf

Please sign in to comment.