Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions DevLog/UI/Home/TodoListView.swift
Original file line number Diff line number Diff line change
Expand Up @@ -303,10 +303,10 @@ struct TodoListView: View {
GeometryReader { geometry in
Color.clear
.onAppear {
headerHeight = geometry.size.height
headerHeight = geometry.size.height + 1
}
.onChange(of: geometry.size.height) { _, height in
headerHeight = height
headerHeight = height + 1
Comment on lines +306 to +309
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

critical

두 가지 점을 제안합니다.

  1. (Critical) PR 제목과 코드 주석에서 'iOS 26.4'를 언급하고 있으나, 코드에서는 iOS 26.0으로 버전 분기를 하고 있습니다. iOS 26.0은 존재하지 않는 버전으로, iOS 16.0 또는 iOS 16.4의 오타로 보입니다. 이로 인해 해당 수정 사항이 의도한 iOS 버전에서 적용되지 않는 버그가 발생할 수 있으므로 올바른 버전으로 수정해야 합니다.

  2. (Medium) 가독성과 유지보수성을 위해 매직 넘버 1을 사용하는 대신, headerHeightAdjustment와 같이 의미를 명확히 나타내는 상수로 정의하는 것을 고려해 보세요. 이 값을 통해 왜 높이 조정이 필요한지에 대한 컨텍스트를 코드 자체에 부여할 수 있습니다.

}
}
}
Expand Down