Skip to content

Commit

Permalink
prevent the closing of the device connected subject while the user mi…
Browse files Browse the repository at this point in the history
…ght be actively trying to fix the problem
  • Loading branch information
simonmcl committed Oct 23, 2024
1 parent f770fae commit d6cd270
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Sources/KukaiCoreSwift/Services/LedgerService.swift
Original file line number Diff line number Diff line change
Expand Up @@ -273,7 +273,7 @@ public class LedgerService: NSObject, CBPeripheralDelegate, CBCentralManagerDele
self.setupBluetoothConnection()
.sink { [weak self] value in
if !value {
self?.deviceConnectedPublisher.send(completion: .failure(KukaiError.unknown()))
self?.deviceConnectedPublisher.send(false)
}

self?.requestedUUID = uuid
Expand Down

0 comments on commit d6cd270

Please sign in to comment.