another.im-ios/ConversationsClassic/AppCore/Reducers/ConversationReducer.swift
2024-06-21 12:42:50 +02:00

12 lines
279 B
Swift

extension ConversationState {
static func reducer(state: inout ConversationState, action: ConversationAction) {
switch action {
case .makeConversationActive(let chat):
state.currentChat = chat
default:
break
}
}
}