don't incorrectly ask for CAMERA permission

This commit is contained in:
Kevin Hester 2020-03-02 10:30:32 -08:00
parent a9c9dac3ab
commit b753d52b93
2 changed files with 4 additions and 1 deletions

View file

@ -57,7 +57,7 @@ data class BTScanEntry(val name: String, val macAddress: String, val bonded: Boo
@Composable
fun BTScanScreen() {
val context = ambient(ContextAmbient)
val context = ContextAmbient.current
/// Note: may be null on platforms without a bluetooth driver (ie. the emulator)
val bluetoothAdapter =