增加换肤功能
This commit is contained in:
15
TUIKit/TUIRoomKit/Source/Store/Room/RoomSelector.swift
Normal file
15
TUIKit/TUIRoomKit/Source/Store/Room/RoomSelector.swift
Normal file
@@ -0,0 +1,15 @@
|
||||
//
|
||||
// RoomSelector.swift
|
||||
// TUIRoomKit
|
||||
//
|
||||
// Created by jeremiawang on 2024/8/19.
|
||||
//
|
||||
|
||||
import Foundation
|
||||
|
||||
enum RoomSelectors {
|
||||
static let getRoomState = Selector(keyPath: \OperationState.roomState)
|
||||
|
||||
static let getRoomId = Selector.with(getRoomState, keyPath:\RoomInfo.roomId)
|
||||
static let getIsEnteredRoom = Selector.with(getRoomState, keyPath:\RoomInfo.isEnteredRoom)
|
||||
}
|
||||
Reference in New Issue
Block a user