mirror of
https://github.com/meshtastic/Meshtastic-Android.git
synced 2026-05-18 11:46:28 -04:00
fix: use getDeviceAddress() for selectedBluetooth
instead of getBondedDeviceAddress()
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user