mirror of
https://github.com/lux-tel/session-ios.git
synced 2026-10-30 20:38:32 +00:00
• Rebuild the observation system so UI updates can be triggered arbitrarily rather than just from database changes (requires manual evert firing) • Refactored the TypingIndicators to be an actor • Fixed an issue where sharing something from within the app via Session wouldn't update the conversation list content
14 lines
322 B
Swift
14 lines
322 B
Swift
// Copyright © 2025 Rangeproof Pty Ltd. All rights reserved.
|
|
|
|
import Foundation
|
|
import Combine
|
|
|
|
public extension Subscribers.Completion where Failure == Error {
|
|
var errorOrNull: Error? {
|
|
switch self {
|
|
case .finished: return nil
|
|
case .failure(let error): return error
|
|
}
|
|
}
|
|
}
|