another.im-ios/ConversationsClassic/AppCore/Reducers/SharingReducer.swift

12 lines
256 B
Swift
Raw Normal View History

2024-07-10 14:13:47 +00:00
extension SharingState {
static func reducer(state: inout SharingState, action: SharingAction) {
switch action {
case .showSharing(let shown):
state.sharingShown = shown
default:
break
}
}
}