Skip to content

Commit

Permalink
fix: ProfileImageUploadView WithPerceptionTracking 추가
Browse files Browse the repository at this point in the history
  • Loading branch information
leemhyungyu committed Sep 4, 2024
1 parent ce4e27a commit 5384181
Showing 1 changed file with 27 additions and 25 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -23,35 +23,37 @@ public struct ProfileImageUploadView: View {
}

public var body: some View {
ScrollView {
VStack(spacing: 0.0) {
titleView

PhotosPicker(
selection: $selectedItems,
maxSelectionCount: 1,
matching: .images
) {
imagePickerButton
.frame(height: UIScreen.main.bounds.width - 16.0 * 2)
.padding(.bottom, .md)
}
.onChange(of: selectedItems) { item in
handleSelectedPhotos(item)
WithPerceptionTracking {
ScrollView {
VStack(spacing: 0.0) {
titleView

PhotosPicker(
selection: $selectedItems,
maxSelectionCount: 1,
matching: .images
) {
imagePickerButton
.frame(height: UIScreen.main.bounds.width - 16.0 * 2)
.padding(.bottom, .md)
}
.onChange(of: selectedItems) { item in
handleSelectedPhotos(item)
}

doneButton
}

doneButton
.padding(.bottom, .xl)
}
.padding(.bottom, .xl)
}
.padding(.horizontal, .md)
.setNavigationBar {
makeNaivgationleftButton {
store.send(.backButtonDidTapped)
.padding(.horizontal, .md)
.setNavigationBar {
makeNaivgationleftButton {
store.send(.backButtonDidTapped)
}
}
.scrollIndicators(.hidden)
.toolbar(.hidden, for: .bottomBar)
}
.scrollIndicators(.hidden)
.toolbar(.hidden, for: .bottomBar)
}
}

Expand Down

0 comments on commit 5384181

Please sign in to comment.