Skip to content

Commit c93a6d1

Browse files
authored
[#519] List row들의 터치/탭 히트박스를 확장한다 (#525)
* fix: contentShape 위치 이동 * refactor: EdgeInset으로 변경
1 parent 35aa2e4 commit c93a6d1

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Application/DevLogPresentation/Sources/Home/Home/HomeView.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -124,6 +124,7 @@ struct HomeView: View {
124124
let preferences = coordinator.viewModel.state.preferences
125125
ForEach(preferences.filter { $0.isVisible }, id: \.id) { item in
126126
todoCategoryRow(item)
127+
.listRowInsets((EdgeInsets(top: 0, leading: 16, bottom: 0, trailing: 16)))
127128
}
128129
}
129130
}, header: {
@@ -383,7 +384,6 @@ struct HomeView: View {
383384
.foregroundStyle(Color.primary)
384385
Spacer()
385386
}
386-
.padding(.vertical, -6)
387387
.contentShape(.rect)
388388
}
389389

0 commit comments

Comments
 (0)