diff --git a/Mastodon/Scene/Share/ViewModel/ListBatchFetchViewModel.swift b/Mastodon/Scene/Share/ViewModel/ListBatchFetchViewModel.swift index 544219f12..c0ca56424 100644 --- a/Mastodon/Scene/Share/ViewModel/ListBatchFetchViewModel.swift +++ b/Mastodon/Scene/Share/ViewModel/ListBatchFetchViewModel.swift @@ -6,12 +6,8 @@ // import UIKit -import Combine -// ref: Texture.ASBatchFetchingDelegate final class ListBatchFetchViewModel { - init() {} - static func scrollViewDidScrollToEnd(_ scrollView: UIScrollView, action: () -> Void) { if scrollView.isDragging || scrollView.isTracking { return } @@ -28,8 +24,3 @@ final class ListBatchFetchViewModel { } } } - -extension ListBatchFetchViewModel { - @available(*, deprecated, message: "Implement `UIScrollViewDelegate` and invoce `scrollViewdidScrollToEnd` for now.") - func setup(scrollView: UIScrollView) {} -}