another.im-ios/ConversationsClassic/AppCore/Middlewares/SharingMiddleware.swift

16 lines
370 B
Swift
Raw Normal View History

2024-07-10 14:13:47 +00:00
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()
}
}
}