mirror of
https://github.com/meshtastic/Meshtastic-Android.git
synced 2026-04-20 22:23:37 +00:00
also show failure to bond in the GUI
This commit is contained in:
parent
56534f0b89
commit
5e57fd69e1
1 changed files with 2 additions and 4 deletions
|
|
@ -69,10 +69,8 @@ private fun requestBonding(
|
|||
|
||||
if (state != BOND_BONDING) {
|
||||
context.unregisterReceiver(this) // we stay registered until bonding completes (either with BONDED or NONE)
|
||||
if (state == BOND_BONDED) {
|
||||
SLogging.debug("Bonding completed, state=$state")
|
||||
onComplete(state)
|
||||
}
|
||||
SLogging.debug("Bonding completed, state=$state")
|
||||
onComplete(state)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue