mirror of
https://github.com/Novaloop-AG/element-x-ios.git
synced 2026-11-03 16:10:20 +00:00
Display voice message progress cursor if progress is greater than zero (#2077)
This commit is contained in:
@@ -285,7 +285,7 @@ class AudioPlayerStateTests: XCTestCase {
|
||||
}
|
||||
audioPlayerActionsSubject.send(.didStartPlaying)
|
||||
try await deferredPlayingState.fulfill()
|
||||
XCTAssertTrue(audioPlayerState.showProgressIndicator)
|
||||
XCTAssertFalse(audioPlayerState.showProgressIndicator)
|
||||
|
||||
let deferred = deferFulfillment(audioPlayerState.$playbackState) { action in
|
||||
switch action {
|
||||
@@ -300,6 +300,6 @@ class AudioPlayerStateTests: XCTestCase {
|
||||
try await deferred.fulfill()
|
||||
XCTAssertEqual(audioPlayerState.playbackState, .error)
|
||||
XCTAssertFalse(audioPlayerState.isPublishingProgress)
|
||||
XCTAssertTrue(audioPlayerState.showProgressIndicator)
|
||||
XCTAssertFalse(audioPlayerState.showProgressIndicator)
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user