Skip to content

Commit

Permalink
Merge pull request #215 from simondankelmann/simondankelmann/spamDete…
Browse files Browse the repository at this point in the history
…ction

fixed bt enable bug
  • Loading branch information
simondankelmann committed Jan 5, 2024
2 parents 27b9a40 + 4f8faeb commit b14dde8
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 b14dde8

Please sign in to comment.