mirror of
https://github.com/meshtastic/Meshtastic-Android.git
synced 2026-04-20 22:23:37 +00:00
refactor: migrate :core:database to Room Kotlin Multiplatform (#4702)
This commit is contained in:
parent
744db2d5bd
commit
6a858acb4a
42 changed files with 406 additions and 264 deletions
|
|
@ -60,7 +60,7 @@ constructor(
|
|||
|
||||
val applicationId = buildConfigProvider.applicationId
|
||||
|
||||
private val ourNodeNumFlow = nodeRepository.nodeDBbyNum.map { it.keys.firstOrNull() }.distinctUntilChanged()
|
||||
private val ourNodeNumFlow = nodeRepository.myNodeInfo.map { it?.myNodeNum }.distinctUntilChanged()
|
||||
|
||||
val positionLogs: StateFlow<List<Position>> =
|
||||
ourNodeNumFlow
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue