                     }
                 }
             }
-            .onAppear { appearing(currentProxy) }
+            .onAppear { appearing() }
             .onDisappear(perform: disappearing)
         }
     }

import MastodonSwift
import SwiftUI

struct Refresher: View {
    @Environment(\.refresh) private var refresh // 1

    var body: some View {
        VStack {
            Text("Refresher")
            if let refresh = refresh { // 2
                Button("Refresh") {
                    Task { await refresh() }
                }
            }
        }
    }
}

struct TimelineView: View {
    
    // MARK: - Public Properties
    
    var body: some View {
        Header(title: title) {
            ScrollViewReader { proxy in
                List {
                    ForEach(persistedStatuses, id: \.statusId) { status in
                        StatusView(persistedStatus: status)
                            .id(status.statusId)
                            .onAppear { statusAppears(status) }
                            .onDisappear { statusDisappears(status) }
                    }
                }
                .onAppear { currentProxy = proxy }
                .refreshable {
                    await asyncRefresh(proxy)
                }
            }
            .toolbar {
                ToolbarItem(placement: .navigation) {

    @EnvironmentObject
    private var sessionModel: SessionModel
    @State
    private var reloadCancellable: AnyCancellable!
    
    // MARK: - Private Methods
    
