Skip to content

Commit

Permalink
[Modify] PostGridContent 속성 추가로 인한 수정 #173
Browse files Browse the repository at this point in the history
  • Loading branch information
bdrsky2010 committed Apr 20, 2024
1 parent ffce3fc commit a4c48d6
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions JUDA_iOS/JUDA/View/Mypage/AuthenticatedMypageView.swift
Original file line number Diff line number Diff line change
Expand Up @@ -39,16 +39,16 @@ struct AuthenticatedMypageView: View {
// MARK: iOS 16.4 이상
if #available(iOS 16.4, *) {
ScrollView() {
PostGridContent(usedTo: .myPage, searchTagType: nil)
PostGridContent(usedTo: .myPage, searchTagType: nil, searchPosts: nil)
}
.scrollBounceBehavior(.basedOnSize, axes: .vertical)
// MARK: iOS 16.4 미만
} else {
ViewThatFits(in: .vertical) {
PostGridContent(usedTo: .myPage, searchTagType: nil)
PostGridContent(usedTo: .myPage, searchTagType: nil, searchPosts: nil)
.frame(maxHeight: .infinity, alignment: .top)
ScrollView {
PostGridContent(usedTo: .myPage, searchTagType: nil)
PostGridContent(usedTo: .myPage, searchTagType: nil, searchPosts: nil)
}
}
}
Expand Down

0 comments on commit a4c48d6

Please sign in to comment.