mirror of
https://github.com/Novaloop-AG/element-x-ios.git
synced 2026-11-04 10:33:45 +00:00
use current value subject and current value publisher for LiveLocationShare updates
This commit is contained in:
@@ -15,6 +15,6 @@ struct RoomLiveLocationServiceMockConfiguration {
|
||||
extension RoomLiveLocationServiceMock {
|
||||
convenience init(_ configuration: RoomLiveLocationServiceMockConfiguration = .init()) {
|
||||
self.init()
|
||||
liveLocationsPublisher = CurrentValueSubject(configuration.shares).eraseToAnyPublisher()
|
||||
liveLocationsPublisher = CurrentValueSubject(configuration.shares).asCurrentValuePublisher()
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user