Skip to content

Commit

Permalink
fixed bt enable bug
Browse files Browse the repository at this point in the history
  • Loading branch information
simondankelmann committed Jan 5, 2024
1 parent 6e0d122 commit 4f8faeb
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 1 deletion.
Binary file modified app/debug/app-debug.apk
Binary file not shown.
Binary file modified app/release/app-release.apk
Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -550,7 +550,9 @@ class StartFragment : Fragment() {
} else {
addMissingRequirement("Bluetooth is disabled")
if(promptIfAdapterIsDisabled){
promptEnableBluetooth(bluetoothAdapter)
if(PermissionCheck.checkPermission(Manifest.permission.BLUETOOTH_CONNECT, AppContext.getActivity())){
promptEnableBluetooth(bluetoothAdapter)
}
}
}
} else {
Expand Down

0 comments on commit 4f8faeb

Please sign in to comment.