mirror of
https://github.com/meshtastic/Meshtastic-Android.git
synced 2026-04-20 22:23:37 +00:00
refactor: move IMeshService instance to repository
This commit is contained in:
parent
e93fac2ae3
commit
37dad9b6fa
4 changed files with 30 additions and 42 deletions
|
|
@ -106,7 +106,7 @@ class UIViewModel @Inject constructor(
|
|||
) : ViewModel(), Logging {
|
||||
|
||||
var actionBarMenu: Menu? = null
|
||||
var meshService: IMeshService? = null
|
||||
val meshService: IMeshService? get() = radioConfigRepository.meshService
|
||||
val nodeDB = NodeDB(this)
|
||||
|
||||
val bondedAddress get() = radioInterfaceService.getBondedDeviceAddress()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue