Skip to content

Commit c1cf166

Browse files
committed
Fixed access control for Android.Bluetooth.Adapter.default
1 parent 79de586 commit c1cf166

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

Sources/AndroidBluetooth/BluetoothAdapter.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,14 +48,14 @@ public final class AndroidBluetoothAdapter: JavaObject {
4848
*
4949
* - Returns: The default local adapter, or null if Bluetooth is not supported on this hardware platform.
5050
*/
51-
static var `default`: Android.Bluetooth.Adapter? {
51+
public static var `default`: Android.Bluetooth.Adapter? {
5252

5353
@inline(__always)
5454
get { return getDefaultAdapter() }
5555
}
5656

5757
internal func getBluetoothLeAdvertiser() -> JavaObject? {
58-
58+
assertionFailure("Not implemented")
5959
// TODO
6060
return nil
6161
}

0 commit comments

Comments
 (0)