Remove debug line

This commit is contained in:
Jackson Harper 2023-12-01 14:23:18 +08:00
parent dca79bc913
commit 2f4436a8cb

View file

@ -690,7 +690,6 @@ struct AnimatingCellHeight: AnimatableModifier {
.coordinateSpace(name: "scroll")
.onChange(of: shouldScrollToTop) { _ in
if shouldScrollToTop, let topItem = viewModel.fetcher.items.first {
print("READING POISTION: ", topItem)
withAnimation { // add animation for scroll to top
reader.scrollTo(topItem.unwrappedID, anchor: .top) // scroll
}