Skip to content

Commit f82391f

Browse files
committed
Bugfix: Minimum version for CBMConnectPeripheralOptionEnableAutoReconnect
1 parent 0689bfe commit f82391f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

CoreBluetoothMock/CBMCentralManagerMock.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -699,7 +699,7 @@ open class CBMCentralManagerMock: CBMCentralManager {
699699
// Read connection options. Currently only auto-reconnect is supported.
700700
var enableAutoReconnect = false
701701
if var o = options {
702-
if #available(iOS 17.0, macOS 14.0, *) {
702+
if #available(iOS 17.0, macOS 14.0, tvOS 17.0, watchOS 10.0, *) {
703703
let option = o.removeValue(forKey: CBMConnectPeripheralOptionEnableAutoReconnect) as? NSNumber
704704
enableAutoReconnect = option?.boolValue ?? false
705705
}

0 commit comments

Comments
 (0)