Improved rendering of voice messages (#1782)

This commit is contained in:
Nicolas Mauri
2023-09-22 16:53:17 +02:00
committed by GitHub
parent bc1910e9bb
commit e9ce24fd9c
10 changed files with 60 additions and 34 deletions
@@ -283,7 +283,7 @@ class RoomScreenViewModelTests: XCTestCase {
.store(in: &cancellables)
// Test
let deferred = deferFulfillment(viewModel.context.$viewState.collect(2).first(),
let deferred = deferFulfillment(viewModel.context.$viewState.collect(3).first(),
message: "The existing view state plus one new one should be published.")
viewModel.context.send(viewAction: .tappedOnUser(userID: "bob"))
try await deferred.fulfill()