diff --git a/app/src/main/java/com/github/umer0586/droidpad/ui/screens/controlpadplayscreen/ControlPadPlayScreen.kt b/app/src/main/java/com/github/umer0586/droidpad/ui/screens/controlpadplayscreen/ControlPadPlayScreen.kt index 6c28f71..9c74b39 100644 --- a/app/src/main/java/com/github/umer0586/droidpad/ui/screens/controlpadplayscreen/ControlPadPlayScreen.kt +++ b/app/src/main/java/com/github/umer0586/droidpad/ui/screens/controlpadplayscreen/ControlPadPlayScreen.kt @@ -211,7 +211,7 @@ fun ControlPlayScreenContent( // solve this issue since its value does not change between successive taps // unless Bluetooth is enabled. - if(!uiState.isBluetoothEnabled){ + if(uiState.connectionType == ConnectionType.BLUETOOTH_LE && !uiState.isBluetoothEnabled){ scope.launch { snackbarHostState.showSnackbar("Please Enable bluetooth") }