diff --git a/Application/Presentation/NotificationTab/Sources/PushNotification/View+Refreshable.swift b/Application/Presentation/NotificationTab/Sources/PushNotification/View+Refreshable.swift index fb7d62f6..0ac201bf 100644 --- a/Application/Presentation/NotificationTab/Sources/PushNotification/View+Refreshable.swift +++ b/Application/Presentation/NotificationTab/Sources/PushNotification/View+Refreshable.swift @@ -21,10 +21,10 @@ extension View { @ViewBuilder func refreshable( isEnabled: Bool, - action: @escaping @Sendable () async -> Void + action: @escaping @MainActor @Sendable () async -> Void ) -> some View { if isEnabled { - refreshable(action: action) + refreshable { await action() } } else { self }