refactor: move IMeshService instance to repository

This commit is contained in:
andrekir 2023-10-06 17:54:37 -03:00
parent e93fac2ae3
commit 37dad9b6fa
4 changed files with 30 additions and 42 deletions

View file

@ -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()