16 lines
370 B
Swift
16 lines
370 B
Swift
import Combine
|
|
import Foundation
|
|
import Martin
|
|
|
|
final class SharingMiddleware {
|
|
static let shared = SharingMiddleware()
|
|
private let gallery = GalleryService()
|
|
|
|
func middleware(state _: AppState, action: AppAction) -> AnyPublisher<AppAction, Never> {
|
|
switch action {
|
|
default:
|
|
return Empty().eraseToAnyPublisher()
|
|
}
|
|
}
|
|
}
|