mirror of
https://github.com/meshtastic/Meshtastic-Android.git
synced 2026-04-20 22:23:37 +00:00
fix autobug - it seems someone out there is running some really old device code
This commit is contained in:
parent
3c27021d8b
commit
e4363d04d5
1 changed files with 2 additions and 1 deletions
|
|
@ -76,7 +76,8 @@ class BTScanModel(app: Application) : AndroidViewModel(app), Logging {
|
|||
val oldEntry = oldDevs[addr]
|
||||
if (oldEntry == null || oldEntry.bonded != isBonded) {
|
||||
val entry = BTScanEntry(
|
||||
result.device.name,
|
||||
result.device.name
|
||||
?: "unnamed-$addr", // autobug: some devices might not have a name, if someone is running really old device code?
|
||||
addr,
|
||||
isBonded
|
||||
)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue