mirror of
https://github.com/meshtastic/Meshtastic-Android.git
synced 2026-04-20 22:23:37 +00:00
revert(service): reverts a bunch of changes to MeshService.kt (#2692)
Signed-off-by: James Rich <2199651+jamesarich@users.noreply.github.com>
This commit is contained in:
parent
1923b6d6d4
commit
a35e43d979
16 changed files with 1622 additions and 1603 deletions
|
|
@ -124,6 +124,11 @@ constructor(
|
|||
nodeInfoDao.clearNodeInfo()
|
||||
}
|
||||
|
||||
suspend fun installNodeDb(nodes: List<NodeEntity>) = withContext(dispatchers.io) {
|
||||
nodeInfoDao.clearNodeInfo()
|
||||
nodeInfoDao.putAll(nodes)
|
||||
}
|
||||
|
||||
suspend fun clearNodeDB() = withContext(dispatchers.io) { nodeInfoDao.clearNodeInfo() }
|
||||
|
||||
suspend fun deleteNode(num: Int) = withContext(dispatchers.io) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue