Skip to content

Commit

Permalink
[Fix] ArticleListByCategory뷰 탭바 높이 조절
Browse files Browse the repository at this point in the history
  • Loading branch information
sjk4618 committed Jul 21, 2023
1 parent 1446c9e commit 1be6ede
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -102,9 +102,9 @@ private extension ArticleListByCategoryViewController {
guard let indexPath = notification.userInfo?["bookmarkCellIndexPath"] as? Int else { return }
guard let buttonSelected = notification.userInfo?["bookmarkButtonSelected"] as? Bool else { return }

try await BookmarkService.shared.postBookmark(BookmarkRequest(articleId: articleListData[indexPath].articleId,
try await BookmarkService.shared.postBookmark(BookmarkRequest(articleId: articleListData[indexPath+1].articleId,
bookmarkStatus: buttonSelected))
buttonSelected ? LHToast.show(message: "북마크에 추가되었습니다") : LHToast.show(message: "북마크에 해제되었습니다")
buttonSelected ? LHToast.show(message: "북마크에 추가되었습니다", isTabBar: true) : LHToast.show(message: "북마크에 해제되었습니다", isTabBar: true)
} catch {
guard let error = error as? NetworkError else { return }
handleError(error)
Expand Down

0 comments on commit 1be6ede

Please sign in to comment.