Skip to content

Commit

Permalink
최신 북마크 게시글을 가장 위에 표시하도록 수정
Browse files Browse the repository at this point in the history
  • Loading branch information
ypjun100 committed Jun 22, 2023
1 parent 4a3dca7 commit 36e2bd4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion NoticeBoard/Utils/BookmarkedNoticeManager.swift
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ class BookmarkedNoticeManager {

// 북마크 한 게시글 데이터를 불러옴
func getNotices() -> [Notice] {
return bookmarkedNotices
return bookmarkedNotices.reversed() // 최신 북마크 게시글을 가장 위에 표시하기 위해 reversed 진행
}

// 북마크한 게시글 추가
Expand Down

0 comments on commit 36e2bd4

Please sign in to comment.