another.im-ios/ConversationsClassic/AppCore/Reducers/SharingReducer.swift
2024-07-10 16:13:47 +02:00

12 lines
256 B
Swift

extension SharingState {
static func reducer(state: inout SharingState, action: SharingAction) {
switch action {
case .showSharing(let shown):
state.sharingShown = shown
default:
break
}
}
}