Add a feature flag for the new RoomThreadList screen.

This commit is contained in:
Stefan Ceriu
2026-03-23 17:58:14 +02:00
committed by Stefan Ceriu
parent e7e1e990db
commit 9406148689
6 changed files with 23 additions and 6 deletions
@@ -164,6 +164,10 @@ class RoomScreenViewModel: RoomScreenViewModelType, RoomScreenViewModelProtocol
// MARK: - Private
private func setupSubscriptions(ongoingCallRoomIDPublisher: CurrentValuePublisher<String?, Never>) {
appSettings.$roomThreadListEnabled
.weakAssign(to: \.state.roomThreadListEnabled, on: self)
.store(in: &cancellables)
appSettings.$knockingEnabled
.weakAssign(to: \.state.isKnockingEnabled, on: self)
.store(in: &cancellables)