We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d86d33e commit 36541a7Copy full SHA for 36541a7
1 file changed
DevLog/UI/Home/TodoListView.swift
@@ -302,12 +302,10 @@ struct TodoListView: View {
302
.background {
303
GeometryReader { geometry in
304
Color.clear
305
- .onAppear {
306
- headerHeight = geometry.size.height + 1
307
- }
308
- .onChange(of: geometry.size.height) { _, height in
309
- headerHeight = height + 1
+ .onChange(of: geometry.size.height, initial: true) { _, height in
+ headerHeight = height.rounded()
310
}
+
311
312
313
0 commit comments