mirror of
https://github.com/meshtastic/Meshtastic-Android.git
synced 2026-04-20 22:23:37 +00:00
fix: use getDeviceAddress() for selectedBluetooth
instead of getBondedDeviceAddress()
This commit is contained in:
parent
66af38a585
commit
7e73c51711
1 changed files with 1 additions and 1 deletions
|
|
@ -99,7 +99,7 @@ class UIViewModel @Inject constructor(
|
|||
val nodeDB = NodeDB(this)
|
||||
|
||||
val bondedAddress get() = radioInterfaceService.getBondedDeviceAddress()
|
||||
val selectedBluetooth: Boolean get() = bondedAddress?.getOrNull(0) == 'x'
|
||||
val selectedBluetooth get() = radioInterfaceService.getDeviceAddress()?.getOrNull(0) == 'x'
|
||||
|
||||
private val _meshLog = MutableStateFlow<List<MeshLog>>(emptyList())
|
||||
val meshLog: StateFlow<List<MeshLog>> = _meshLog
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue